- Timestamp:
- 2019-06-11T19:11:35+12:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/js/classifier_scripts.js
r33128 r33145 37 37 38 38 //If the div exists 39 if(section.length) 39 // Test if 'section' exists. 40 // ==> Because we're using jQuery to do this we need to test the length of the object returned 41 // http://stackoverflow.com/questions/920236/how-can-i-detect-if-a-selector-returns-null 42 if(section.length !== 0) 40 43 { 41 44 if(isExpanded(sectionID)) … … 44 47 sectionToggle.attr("src", gs.imageURLs.expand); 45 48 46 if(openClassifiers[sectionID] != undefined)49 if(openClassifiers[sectionID].length !== 0) //if(openClassifiers[sectionID] != undefined) 47 50 { 48 51 delete openClassifiers[sectionID];
Note:
See TracChangeset
for help on using the changeset viewer.