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

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Apr 22 17:13:10 EDT 2011


Author: phasefx
Date: 2011-04-22 17:13:04 -0400 (Fri, 22 Apr 2011)
New Revision: 20292

Modified:
   trunk/Open-ILS/xul/staff_client/server/patron/holds.js
Log:
Disable Save Columns in xul holds interface when Hold Details is being viewed.  https://bugs.launchpad.net/evergreen/+bug/691599   Not the best fix, but the quickest fix


Modified: trunk/Open-ILS/xul/staff_client/server/patron/holds.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/holds.js	2011-04-22 20:50:29 UTC (rev 20291)
+++ trunk/Open-ILS/xul/staff_client/server/patron/holds.js	2011-04-22 21:13:04 UTC (rev 20292)
@@ -238,6 +238,7 @@
                                     n.setAttribute('toggle','0');
                                     n.setAttribute('label', document.getElementById("circStrings").getString('staff.circ.holds.alt_view.label'));
                                     n.setAttribute('accesskey', document.getElementById("circStrings").getString('staff.circ.holds.alt_view.accesskey'));
+                                    obj.controller.view.save_columns.setAttribute('disabled','false');
                                 } else {
                                     document.getElementById('deck').selectedIndex = 1;
                                     n.setAttribute('toggle','1');
@@ -253,6 +254,7 @@
                                     f.xulG = xulG;
                                     f.xulG.clear_and_retrieve = function() { obj.clear_and_retrieve(); };
                                     f.fetch_and_render_all(true);
+                                    obj.controller.view.save_columns.setAttribute('disabled','true');
                                 }
                             } catch(E) {
                                 alert('Error in holds.js, cmd_alt_view handler: ' + E);



More information about the open-ils-commits mailing list