# HG changeset patch # User robcast # Date 1352721898 -3600 # Node ID f523a1c8edaa1e3527ddc73d5a84d70c2058707e # Parent 9e85efcfbb0cbb85cc28cfcc72ec0b52e8e6e6a8 make frontend page for digilibUrl action configurable. diff -r 9e85efcfbb0c -r f523a1c8edaa webapp/src/main/webapp/jquery/jquery.digilib.js --- a/webapp/src/main/webapp/jquery/jquery.digilib.js Fri Nov 09 20:10:51 2012 +0100 +++ b/webapp/src/main/webapp/jquery/jquery.digilib.js Mon Nov 12 13:04:58 2012 +0100 @@ -45,6 +45,8 @@ 'homeUrl' : 'http://digilib.berlios.de', // base URL to digilib (e.g. 'http://digilib.mpiwg-berlin.mpg.de/digitallibrary') 'digilibBaseUrl' : null, + // path to digilib frontend page (inside digilibBaseUrl) + 'digilibFrontendPath' : '/jquery/digilib.html', // base URL to Scaler servlet (usually digilibBaseUrl+'/servlet/Scaler') 'scalerBaseUrl' : null, // prefix of digilib classes in CSS styles @@ -521,7 +523,7 @@ * @param mode */ digilibUrl : function (data, mode) { - var url = getDigilibUrl(data, '/jquery/digilib.html'); + var url = getDigilibUrl(data, data.settings.digilibFrontendPath); if (mode === 'open') { // redirect window.location = url;