[open-ils-commits] r14107 - trunk/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Sep 22 20:49:03 EDT 2009
Author: phasefx
Date: 2009-09-22 20:49:02 -0400 (Tue, 22 Sep 2009)
New Revision: 14107
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/holds.js
Log:
have the Detail View button will disable itself if no holds are currently selected
Modified: trunk/Open-ILS/xul/staff_client/server/patron/holds.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/holds.js 2009-09-22 22:40:01 UTC (rev 14106)
+++ trunk/Open-ILS/xul/staff_client/server/patron/holds.js 2009-09-23 00:49:02 UTC (rev 14107)
@@ -138,7 +138,7 @@
obj.controller.view.cmd_holds_edit_thaw_date.setAttribute('disabled','false');
obj.controller.view.cmd_holds_activate.setAttribute('disabled','false');
obj.controller.view.cmd_holds_suspend.setAttribute('disabled','false');
- obj.controller.view.cmd_show_details.setAttribute('disabled','false');
+ obj.controller.view.cmd_alt_view.setAttribute('disabled','false');
obj.controller.view.cmd_holds_retarget.setAttribute('disabled','false');
obj.controller.view.cmd_holds_cancel.setAttribute('disabled','false');
obj.controller.view.cmd_show_catalog.setAttribute('disabled','false');
@@ -156,7 +156,7 @@
obj.controller.view.cmd_holds_edit_thaw_date.setAttribute('disabled','true');
obj.controller.view.cmd_holds_activate.setAttribute('disabled','true');
obj.controller.view.cmd_holds_suspend.setAttribute('disabled','true');
- obj.controller.view.cmd_show_details.setAttribute('disabled','true');
+ obj.controller.view.cmd_alt_view.setAttribute('disabled','true');
obj.controller.view.cmd_holds_retarget.setAttribute('disabled','true');
obj.controller.view.cmd_holds_cancel.setAttribute('disabled','true');
obj.controller.view.cmd_show_catalog.setAttribute('disabled','true');
@@ -1022,7 +1022,7 @@
obj.controller.view.cmd_holds_activate.setAttribute('disabled','true');
obj.controller.view.cmd_holds_suspend.setAttribute('disabled','true');
obj.controller.view.cmd_holds_edit_selection_depth.setAttribute('disabled','true');
- obj.controller.view.cmd_show_details.setAttribute('disabled','true');
+ obj.controller.view.cmd_alt_view.setAttribute('disabled','true');
obj.controller.view.cmd_holds_retarget.setAttribute('disabled','true');
obj.controller.view.cmd_holds_cancel.setAttribute('disabled','true');
obj.controller.view.cmd_show_catalog.setAttribute('disabled','true');
More information about the open-ils-commits
mailing list