# HG changeset patch # User robcast # Date 1328806499 -3600 # Node ID 8be56a27db582e731cdf396a21ab188a53565a2b # Parent 862d2ae56c200287c78d566b125d4192a7fc4b14 fixed problem when using arrows.js without buttons.js. handling of settings.buttons reference still not perfect. diff -r 862d2ae56c20 -r 8be56a27db58 webapp/src/main/webapp/jquery/jquery.digilib.arrows.js --- 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