From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> Date: Thu, 8 Apr 2010 21:50:09 +0000 (+0000) Subject: fix bug where Filter checkbox stickiness from cataloging's View Holds was trampling... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d126dddc7c055aa07ffb4dd6db4b0e207cc800d4;p=evergreen%2Fmasslnc.git fix bug where Filter checkbox stickiness from cataloging's View Holds was trampling over Browse Hold Shelf's invisible use of the widget git-svn-id: svn://svn.open-ils.org/ILS/trunk@16180 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/holds.js b/Open-ILS/xul/staff_client/server/patron/holds.js index 51586032ef..d6aab6252e 100644 --- a/Open-ILS/xul/staff_client/server/patron/holds.js +++ b/Open-ILS/xul/staff_client/server/patron/holds.js @@ -1219,6 +1219,7 @@ patron.holds.prototype = { 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; diff --git a/Open-ILS/xul/staff_client/server/patron/holds.xul b/Open-ILS/xul/staff_client/server/patron/holds.xul index 8cc526378c..50f5b15935 100644 --- a/Open-ILS/xul/staff_client/server/patron/holds.xul +++ b/Open-ILS/xul/staff_client/server/patron/holds.xul @@ -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"> <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->