Changeset 32854


Ignore:
Timestamp:
03/04/19 22:02:40 (2 years ago)
Author:
ak19
Message:

Cleanup phase two: removed recent console.log debug statements.

Location:
main/trunk/greenstone3/web/interfaces/default/js
Files:
2 edited

Legend:

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

    r32853 r32854  
    380380    // and http://jsfiddle.net/XZAWS/
    381381    // jquery bind() is deprecated: https://stackoverflow.com/questions/33654716/is-jquery-bind-deprecated 
    382     console.log("**** away to set up beforeunload handler!");
     382   
    383383    $(window).on("beforeunload", function(event) {
    384384       
     
    394394            var changes = changesToUpdate();
    395395           
    396             console.log("#### CHANGES before page reload: ", changes);
     396            //console.log("#### CHANGES before page reload: ", changes);
    397397           
    398398            if(changes.length > 0) {
  • main/trunk/greenstone3/web/interfaces/default/js/documentedit_scripts_util.js

    r32853 r32854  
    955955    // with how many editable cells it has/how many rows it has.
    956956    editableElementsInitialisationProgress += $tr_array.length;
    957     console.log("**** addFunctionalityToTable::editableElementsInitialisationProgress = " + editableElementsInitialisationProgress);
    958957   
    959958    $tr_array.each(function()
     
    14581457
    14591458$( document ).ready(function() {
    1460     console.log( "**** Dom ready!" );
    1461    
    1462     // monitor whether ckeditor instances are all ready
     1459    // DOM Ready.
     1460   
     1461    // Now can add handlers to monitor when ckeditor instances are all ready
    14631462    // See https://stackoverflow.com/questions/18461206/how-to-retrieve-the-ckeditor-status-ready
    14641463    // (and https://stackoverflow.com/questions/3447803/how-to-determine-if-ckeditor-is-loaded )
    14651464    if(gs.cgiParams.docEdit == "1") { // CKEDITOR only exists in docEdit mode
     1465   
    14661466        //CKEDITOR.on( 'loaded', function( evt ) { // not triggered
    14671467            //console.log("*** CKEDITOR loaded");
     1468           
    14681469            CKEDITOR.on( 'instanceReady', function( evt ) {
    1469                 console.log("*** CKEDITOR instanceReady", evt);
     1470                //console.log("*** CKEDITOR instanceReady", evt);
    14701471                addCKEEditableState(evt,editableInitStates);
    14711472                // finished initialising one more editable element,
Note: See TracChangeset for help on using the changeset viewer.