Changeset 4422


Ignore:
Timestamp:
Feb 25, 2013, 3:00:37 PM (10 years ago)
Author:
olle
Message:

Refs #797. JavaScript www/static/js/script.js in client/servlet/ updated in function window.onload to check if a element document.forms[0] exists, before accessing its name field.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/servlet/www/static/js/script.js

    r4421 r4422  
    498498    }
    499499    // Start regular updates for Jobs table
    500     if (document.forms[0].name == 'formOfJob')
    501     {
    502       startRegularUpdates();
     500    if (document.forms[0] != null)
     501    {
     502      if (document.forms[0].name == 'formOfJob')
     503      {
     504        startRegularUpdates();
     505    }
    503506    }
    504507};
Note: See TracChangeset for help on using the changeset viewer.