diff webapp/src/main/webapp/jquery/jquery.digilib.arrows.js @ 994:8be56a27db58

fixed problem when using arrows.js without buttons.js. handling of settings.buttons reference still not perfect.
author robcast
date Thu, 09 Feb 2012 17:54:59 +0100
parents 2feb71b40e10
children 0b63093d598e
line wrap: on
line diff
--- a/webapp/src/main/webapp/jquery/jquery.digilib.arrows.js	Tue Feb 07 00:24:21 2012 +0100
+++ b/webapp/src/main/webapp/jquery/jquery.digilib.arrows.js	Thu Feb 09 17:54:59 2012 +0100
@@ -88,6 +88,8 @@
         $.extend(true, digilib.defaults, defaults); // make deep copy
         $.extend(digilib.buttons, buttons);
         $.extend(digilib.actions, actions);
+        // update buttons reference in defaults
+        digilib.defaults.buttons = digilib.buttons;
     };
 
     // plugin initialization