have the Detail View button will disable itself if no holds are currently selected
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 23 Sep 2009 00:49:02 +0000 (00:49 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 23 Sep 2009 00:49:02 +0000 (00:49 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14107 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/holds.js

index 724b4ce..f7810a9 100644 (file)
@@ -138,7 +138,7 @@ patron.holds.prototype = {
                                                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 @@ patron.holds.prototype = {
                                                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 @@ patron.holds.prototype = {
                                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');