Ignore:
Timestamp:
2019-03-02T19:46:19+13:00 (5 years ago)
Author:
ak19
Message:

Forgot to reinstate important code (if condition) after debugging was finished.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/documentedit_scripts.js

    r32838 r32839  
    135135        // - if oldMapData is null, new mapData should not be empty array
    136136        // - 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) {
    138138            var nodeID = map_editors_array[i].id;
    139139            console.log("old vs new mapdata for nodeID " + nodeID);
     
    148148                value:newMapData               
    149149            });
     150           
    150151        }
    151152       
Note: See TracChangeset for help on using the changeset viewer.