Ignore:
Timestamp:
2023-09-30T21:56:11+13:00 (8 months ago)
Author:
anupama
Message:
  1. Removed some code that was unnecessary after all (it merely *seemed* to help things back when the actual problem was that the minus-webswing parameterwasn't being passed in to GLI because of the += in the webswing xsl's javascript code that appended to the args). 2. Removed or commented out debugging code. 3. I noticed that before adding my own actionName into the webswing xsl's javascript, emacs already reported mismatched braces. This may need further investigation. But counting them, they seem to me to match.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/webswing-gli.xsl

    r38258 r38259  
    101101
    102102      <gsf:script>
    103 console.log("username " +  gs.userInformation.username);
    104 console.log("groups " +  gs.userInformation.groups);
    105 console.log("uid " +  gs.userInformation.uid);
    106103
    107104    var webswingInstance0 = {
     
    127124            $('#webswing-gli').css("cursor",cursor_type);           
    128125        }
    129         else if (actionName == "jsConsoleLog") {
     126        else if (actionName == "javaToWebswingJSConsoleLog") {
    130127            console.log("Got message from java:\n" + data);
    131128        }
Note: See TracChangeset for help on using the changeset viewer.