[open-ils-commits] r16180 - trunk/Open-ILS/xul/staff_client/server/patron (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Apr 8 17:50:15 EDT 2010


Author: phasefx
Date: 2010-04-08 17:50:09 -0400 (Thu, 08 Apr 2010)
New Revision: 16180

Modified:
   trunk/Open-ILS/xul/staff_client/server/patron/holds.js
   trunk/Open-ILS/xul/staff_client/server/patron/holds.xul
Log:
fix bug where Filter checkbox stickiness from cataloging's View Holds was trampling over Browse Hold Shelf's invisible use of the widget

Modified: trunk/Open-ILS/xul/staff_client/server/patron/holds.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/holds.js	2010-04-08 21:06:31 UTC (rev 16179)
+++ trunk/Open-ILS/xul/staff_client/server/patron/holds.js	2010-04-08 21:50:09 UTC (rev 16180)
@@ -1219,6 +1219,7 @@
         switch(obj.hold_interface_type) {
             case 'shelf':
                 obj.render_lib_menus({'pickup_lib':true});
+                if (x_lib_filter_checkbox) x_lib_filter_checkbox.checked = true;
                 if (x_lib_type_menu) x_lib_type_menu.hidden = false;
                 if (x_lib_menu_placeholder) x_lib_menu_placeholder.hidden = false;
             break;

Modified: trunk/Open-ILS/xul/staff_client/server/patron/holds.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/holds.xul	2010-04-08 21:06:31 UTC (rev 16179)
+++ trunk/Open-ILS/xul/staff_client/server/patron/holds.xul	2010-04-08 21:50:09 UTC (rev 16180)
@@ -20,7 +20,7 @@
 <?xul-overlay href="/xul/server/patron/holds_overlay.xul"?>
 
 <window id="holds_win" active="true" 
-    onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
+    onload="try { font_helper(); persist_helper(); my_init(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->



More information about the open-ils-commits mailing list