Changeset 37342 for main


Ignore:
Timestamp:
2023-02-22T22:19:27+13:00 (14 months ago)
Author:
davidb
Message:

Busy cursor action JsLink; commented out spurious webswing property fields

File:
1 edited

Legend:

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

    r37327 r37342  
    9696
    9797
    98       <div class="webswing-element" data-webswing-instance="webswingInstance0" style="height: 600px;">
     98      <div id="webswing-gli" class="webswing-element" data-webswing-instance="webswingInstance0" style="height: 600px;">
    9999        <div id="loading" class="ws-modal-container">
    100100              <div class="ws-login">
     
    113113        options: {
    114114            autoStart: true,
    115             args: 'foo',
    116             recording: getParam('recording'),
    117             debugPort: getParam('debugPort'),
     115            //args: 'foo',
     116            //recording: getParam('recording'),
     117            //debugPort: getParam('debugPort'),
    118118            connectionUrl:'/webswing-server/gli',
    119119
     
    125125              var url = data;
    126126              window.open(url, '_blank');
     127        }
     128            else if (actionName == "downloadURL") {
     129          // currently the same as 'previewURL' but separate name gives this some future proofing
     130              var url = data;
     131              window.open(url, '_blank');
     132        }
     133            else if (actionName == "setCursor") {
     134            var cursor_type = data;
     135            $('#webswing-gli').css("cursor",cursor_type);           
    127136        }
    128137          }
Note: See TracChangeset for help on using the changeset viewer.