Changeset 37417 for main


Ignore:
Timestamp:
2023-03-07T10:44:42+13:00 (14 months ago)
Author:
kjdon
Message:

we only want to pass in the -load arg if we are in a collection, i.e. c arg is set

File:
1 edited

Legend:

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

    r37356 r37417  
    104104        options: {
    105105            autoStart: true,
    106         args : "-load " + gs.cgiParams.c + "/gli.col",
     106     
    107107            connectionUrl:'/webswing-server/gli',
    108108
     
    128128       
    129129       }
    130     }
    131 
     130       };
     131       if (gs.cgiParams.c) {
     132       webswingInstance0.options.args = "-load " + gs.cgiParams.c + "/gli.col";
     133       }
    132134    function getParam(name) {
    133135        name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
Note: See TracChangeset for help on using the changeset viewer.