- Timestamp:
- 2019-07-02T21:04:34+12:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/js/classifier_scripts.js
r33286 r33289 29 29 if(section.length !== 0) 30 30 { 31 var expanding = false; 31 32 if(isExpanded(sectionID)) 32 33 { 34 expanding = false; 33 35 section.css("display", "none"); 34 36 sectionToggle.attr("src", gs.imageURLs.expand); … … 41 43 else 42 44 { 45 expanding = true; 43 46 section.css("display", "block"); 44 47 sectionToggle.attr("src", gs.imageURLs.collapse); … … 46 49 } 47 50 updateOpenClassifiers(); 48 if(typeof mapEnabled !== 'undefined' && mapEnabled){51 if(typeof mapEnabled !== 'undefined' /*&& mapEnabled*/){ 49 52 //console.log("Classifier scripts -> updateMap()"); 53 toggleMapSection({"expand": expanding, "nodeID": sectionID}); 50 54 updateMap(); 51 55 }
Note:
See TracChangeset
for help on using the changeset viewer.