Ignore:
Timestamp:
Jun 20, 2007, 3:01:51 PM (16 years ago)
Author:
Nicklas Nordborg
Message:

References #583: Send message at job completion only if user has selected it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/views/rawbioassays/index.jsp

    r3523 r3524  
    102102        Job j = Job.getById(dc, jobId);
    103103        j.start("Initialising...", Application.getHostName());
     104        ProgressReporter progress = j.getProgressReporter(null);
    104105        dc.commit();
    105106        dc = sc.newDbControl();
    106107        RawBioAssay rba = RawBioAssay.getById(dc, rawBioAssayId);
    107108        ArrayDesign design = ArrayDesign.getById(dc, arrayDesignId);
    108         ProgressReporter progress = j.getProgressReporter(null);
    109109        try
    110110        {
     
    264264          job.setName("Validating array design on " + rba.getName());
    265265          job.setPrepared(Application.getHostName());
     266          job.setSendMessage(Values.getBoolean(sc.getUserClientSetting("plugins.sendmessage"), false));
    266267          dc.saveItem(job);
    267268        }
Note: See TracChangeset for help on using the changeset viewer.