- Timestamp:
- 2019-03-05T14:22:22+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/js/documentedit_scripts_util.js
r32854 r32857 510 510 } 511 511 512 // Check for changes to any map editors in the document 513 var modified_map_editors_data = getDocMapsEditDataForSaving(gs.cgiParams.c); // collection 512 // Check for changes to any map editors in the document 513 // NOTE: At present, we don't maintain a list of deletions for the map editor: 514 // GPS.mapOverlay data that has been removed is recorded as a change not a deletion, 515 // with the metadata's new value being the string of an empty JSON array, [], 516 // and entered as such into doc.xml. 517 var modified_map_editors_data = getDocMapsEditDataForSaving(gs.cgiParams.c); // collection 514 518 for(var i = 0; i < modified_map_editors_data.length; i++) { 515 519 metadataChanges.push(modified_map_editors_data[i]); // of the form { collection: gs.cgiParams.c, docID: nodeID, name:"GSP.mapOverlay", metapos: 0, value: <stringifiedJSON> }
Note:
See TracChangeset
for help on using the changeset viewer.