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 edited

Legend:

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

    r29861 r31748  
    1 var _transactions = new Array();
    2 var _collectionsToBuild = new Array();
    3 var _allContents = new Array();
     1/** Javascript file for the document maker, which is where you can split documents up etc. Not used at the moment until we work out exactly what it does. */
     2/** requires documentedit_scripts_util.js and documentmaker_scripts_util.js */
     3/** does it also need documentedit_scripts.js?? */
     4
     5
     6//var _transactions = new Array();
     7//var _collectionsToBuild = new Array();
     8//var _allContents = new Array();
    49var _idCounter = 0;
    510var _indexCounter = 0;
    6 var _deletedSections = new Array();
    7 var _deletedMetadata = new Array();
    8 var _undoOperations = new Array();
    9 var _baseURL;
    10 var _statusBar;
    11 var _metadataSetList = new Array();
     11//var _deletedSections = new Array();
     12//var _deletedMetadata = new Array();
     13//var _undoOperations = new Array();
     14//var _baseURL;
     15//var _statusBar;
     16//var _metadataSetList = new Array();
    1217
    1318function initDocumentMaker()
Note: See TracChangeset for help on using the changeset viewer.