Changeset 32839 for main/trunk/greenstone3/web/interfaces/default
- Timestamp:
- 2019-03-02T19:46:19+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/js/documentedit_scripts.js
r32838 r32839 135 135 // - if oldMapData is null, new mapData should not be empty array 136 136 // - OR oldMapData had some value and it's not the same as newMapData 137 if(!oldMapData && newMapData !== "[]" /*|| oldMapData && oldMapData !== newMapData*/) {137 if(!oldMapData && newMapData !== "[]" || oldMapData && oldMapData !== newMapData) { 138 138 var nodeID = map_editors_array[i].id; 139 139 console.log("old vs new mapdata for nodeID " + nodeID); … … 148 148 value:newMapData 149 149 }); 150 150 151 } 151 152
Note:
See TracChangeset
for help on using the changeset viewer.