Changeset 5716


Ignore:
Timestamp:
Sep 6, 2011, 9:02:18 AM (10 years ago)
Author:
Nicklas Nordborg
Message:

References #1604: Support for multiple files of the same type in a FileSet?

There is no "Validate" checkbox if none of the file types has a validator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/common/datafiles/select_files.jsp

    r5714 r5716  
    291291  {
    292292    var frm = document.forms['datafiles'];
    293     Forms.createHidden(toForm, 'datafiles.validate', frm['datafiles.validate'].checked ? 1 : 0);
     293    if (frm['datafiles.validate'])
     294    {
     295      Forms.createHidden(toForm, 'datafiles.validate', frm['datafiles.validate'].checked ? 1 : 0);
     296    }
    294297    for (var i = 0; i < fileActions.length; i++)
    295298    {
Note: See TracChangeset for help on using the changeset viewer.