Changeset 12077


Ignore:
Timestamp:
Sep 7, 2011, 8:54:42 AM (9 years ago)
Author:
cljosse
Message:

[extensions] set_plugins fix bug minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/set_plugins/js/field_set.js

    r12058 r12077  
    8080      jQuery("fieldset").each(function (i) {
    8181          id0 = jQuery(this).attr("id");
    82           if (id0 == "" or id0=="undefined" ) jQuery(this).attr("id", "fieldset_" + i);
     82          if (id0 == "" || typeof id0 == "undefined")
     83            jQuery(this).attr("id", "fieldset_" + i);
    8384          jQuery(this).attr("rel", i);
    8485
     
    196197    });
    197198  }); // load
    198 });                                                                                  //ready           
    199            
     199});  //ready
Note: See TracChangeset for help on using the changeset viewer.