changeset 653:b21c1a539af3 jquery

fixed dumb bug
author robcast
date Thu, 20 Jan 2011 20:21:11 +0100
parents 01557c5e0682
children b3c05e1568cf 72acc47f1831
files client/digitallibrary/jquery/jquery.digilib.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/jquery/jquery.digilib.js	Thu Jan 20 20:15:45 2011 +0100
+++ b/client/digitallibrary/jquery/jquery.digilib.js	Thu Jan 20 20:21:11 2011 +0100
@@ -408,10 +408,10 @@
 
     // returns URL and query string for Scaler
     var getScalerUrl = function (data) {
+        var settings = data.settings;
         if (settings.scalerBaseUrl == null) {
             alert("ERROR: URL of digilib Scaler servlet missing!");
         }
-        var settings = data.settings;
         var keys = settings.scalerParamNames;
         var queryString = getParamString(settings, keys, defaults);
         var url = settings.scalerBaseUrl + '?' + queryString;