Changeset 7118


Ignore:
Timestamp:
Apr 14, 2016, 1:02:00 PM (7 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1999: Job progress is requested by the web client even when the job has completed

The problem was that the auto-update was checked as a string and not as a number. The string '0' is also considered as a 'true' value, but the number '0' isn't.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/views/jobs/jobs.js

    r6880 r7118  
    5252      Buttons.addClickHandler('close', App.closeWindow);
    5353     
    54       if (Data.get('page-data', 'auto-update'))
     54      if (Data.int('page-data', 'auto-update'))
    5555      {
    5656        jobs.sendProgressUpdateRequest();
Note: See TracChangeset for help on using the changeset viewer.