changeset 748:4b9349765b9c jquery

small method name change
author robcast
date Sat, 05 Feb 2011 14:40:33 +0100
parents fd4842f0afc7
children 109cd6fbec49
files client/digitallibrary/jquery/jquery.digilib.js
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/jquery/jquery.digilib.js	Sat Feb 05 13:53:45 2011 +0100
+++ b/client/digitallibrary/jquery/jquery.digilib.js	Sat Feb 05 14:40:33 2011 +0100
@@ -138,7 +138,7 @@
             img : "rgb.png"
             },
         quality : {
-            onclick : "setquality",
+            onclick : "setQuality",
             tooltip : "set image quality",
             img : "quality.png"
             },
@@ -158,17 +158,17 @@
             img : "original-size.png"
             },
         toggleoptions : {
-            onclick : "morebuttons",
+            onclick : "moreButtons",
             tooltip : "more options",
             img : "options.png"
             },
         moreoptions : {
-            onclick : ["morebuttons", "+1"],
+            onclick : ["moreButtons", "+1"],
             tooltip : "more options",
             img : "options.png"
             },
         lessoptions : {
-            onclick : ["morebuttons", "-1"],
+            onclick : ["moreButtons", "-1"],
             tooltip : "less options",
             img : "options.png"
             },
@@ -510,7 +510,7 @@
         },
 
         // display more (or less) button sets
-        morebuttons : function (data, more) {
+        moreButtons : function (data, more) {
             var settings = data.settings;
             if (more == null) {
                 // toggle more or less (only works for 2 sets)
@@ -574,7 +574,7 @@
         },
 
         // set image quality
-        setquality : function (data, qual) {
+        setQuality : function (data, qual) {
             var oldq = getQuality(data);
             if (qual == null) {
                 qual = window.prompt("Image quality (0..2)", oldq);