[open-ils-commits] r20294 - branches/rel_2_0/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:45 EDT 2011
Author: phasefx
Date: 2011-04-22 17:13:39 -0400 (Fri, 22 Apr 2011)
New Revision: 20294
Modified:
branches/rel_2_0/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: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/holds.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/holds.js 2011-04-22 21:13:24 UTC (rev 20293)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/holds.js 2011-04-22 21:13:39 UTC (rev 20294)
@@ -237,6 +237,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');
@@ -252,6 +253,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