# HG changeset patch # User robcast # Date 1374492463 -7200 # Node ID a5aea37fac03b11f9628414ab84aea4c395156f6 # Parent a6532856dae1325873df073647a0e4bf5d6b4bb7 fixed full http:// paths for button images. diff -r a6532856dae1 -r a5aea37fac03 webapp/src/main/webapp/jquery/jquery.digilib.arrows.js --- a/webapp/src/main/webapp/jquery/jquery.digilib.arrows.js Fri Jul 19 19:08:39 2013 +0200 +++ b/webapp/src/main/webapp/jquery/jquery.digilib.arrows.js Mon Jul 22 13:27:43 2013 +0200 @@ -181,7 +181,7 @@ var cssPrefix = settings.cssPrefix; var imagePath = settings.buttonSettings[mode].imagePath; // make relative imagePath absolute - if (imagePath.charAt(0) !== '/' && imagePath.substring(0, 3) !== 'http') { + if (imagePath.charAt(0) !== '/' && imagePath.substring(0, 7) !== 'http://') { imagePath = settings.digilibBaseUrl + '/jquery/' + imagePath; } var buttonConfig = settings.buttons[buttonName]; diff -r a6532856dae1 -r a5aea37fac03 webapp/src/main/webapp/jquery/jquery.digilib.buttons.js --- a/webapp/src/main/webapp/jquery/jquery.digilib.buttons.js Fri Jul 19 19:08:39 2013 +0200 +++ b/webapp/src/main/webapp/jquery/jquery.digilib.buttons.js Mon Jul 22 13:27:43 2013 +0200 @@ -306,7 +306,7 @@ var mode = settings.interactionMode; var imagePath = settings.buttonSettings[mode].imagePath; // make relative imagePath absolute - if (imagePath.charAt(0) !== '/' && imagePath.substring(0,3) !== 'http') { + if (imagePath.charAt(0) !== '/' && imagePath.substring(0,7) !== 'http://') { imagePath = settings.digilibBaseUrl + '/jquery/' + imagePath; } var buttonConfig = settings.buttons[buttonName]; diff -r a6532856dae1 -r a5aea37fac03 webapp/src/main/webapp/jquery/jquery.digilib.js --- a/webapp/src/main/webapp/jquery/jquery.digilib.js Fri Jul 19 19:08:39 2013 +0200 +++ b/webapp/src/main/webapp/jquery/jquery.digilib.js Mon Jul 22 13:27:43 2013 +0200 @@ -42,7 +42,7 @@ var defaults = { // version of this script - 'version' : 'jquery.digilib.js 2.2.0a', + 'version' : 'jquery.digilib.js 2.2.1', // logo url 'logoUrl' : 'img/digilib-logo-text1.png', // homepage url (behind logo)