Ignore:
Timestamp:
2017-06-26T12:15:10+12:00 (7 years ago)
Author:
kjdon
Message:

trying to make document editing javascript more easy to follow. document_scripts now contains no editing functionality. Content editing (metadata and text) is now in documentedit_scripts.js, which also uses documentedit_scripts_util.js. documentmaker_scripts is for the functionality where sections are moved around?? not sure, as we have never got it working. this also uses documentedit_scripts_util.js (which was just renamed from documentmaker_scripts_util.js)

File:
1 moved

Legend:

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

    r31747 r31748  
     1/** Javascript file containing useful functions used by both documentedit_scripts.js and documentmaker_scripts.js */
     2
     3
    14//Some "constants" to match the server constants
    25var SUCCESS = 1;
     
    69var COMPLETED = 11;
    710var HALTED = 12;
     11
     12var _transactions = new Array();
     13var _collectionsToBuild = new Array();
     14var _allContents = new Array();
     15var _deletedSections = new Array();
     16var _deletedMetadata = new Array();
     17var _undoOperations = new Array();
     18var _baseURL;
     19var _statusBar;
     20var _metadataSetList = new Array();
    821
    922function encodeDelimiters(meta_value) {
Note: See TracChangeset for help on using the changeset viewer.