Ignore:
Timestamp:
2022-11-22T14:53:10+13:00 (17 months ago)
Author:
kjdon
Message:

dynamically decide on cookie-consent path - use cookie_path if it is set (in servlets.xml) otherwise use servlet_context - set by LibraryServlet in config_params,a nd then passed in to xslt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/cookieconsent-init.js

    r36026 r36914  
    1616    autoclear_cookies: false,                  // default: false
    1717    page_scripts: true,                        // default: false
    18     cookie_path: '/greenstone3',               // default: root ( / )
     18    cookie_path: gs.xsltParams.cookie_path,               // default: root ( / )
    1919    gui_options: {
    2020        consent_modal: {
Note: See TracChangeset for help on using the changeset viewer.