[open-ils-commits] r9216 -
trunk/Open-ILS/xul/staff_client/server/patron
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Apr 4 00:17:33 EDT 2008
Author: phasefx
Date: 2008-04-03 23:41:02 -0400 (Thu, 03 Apr 2008)
New Revision: 9216
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/holds.js
trunk/Open-ILS/xul/staff_client/server/patron/holds.xul
Log:
prevent duplicate rows in patron holds interface
Modified: trunk/Open-ILS/xul/staff_client/server/patron/holds.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/holds.js 2008-04-04 02:51:54 UTC (rev 9215)
+++ trunk/Open-ILS/xul/staff_client/server/patron/holds.js 2008-04-04 03:41:02 UTC (rev 9216)
@@ -726,7 +726,7 @@
['command'],
function() {
obj.pull_from_shelf_interface.current.offset += obj.pull_from_shelf_interface.current.limit;
- obj.retrieve();
+ obj.retrieve(true);
}
],
'lib_filter_checkbox' : [
@@ -778,7 +778,7 @@
if (obj.controller.view.lib_menu) obj.controller.view.lib_menu.disabled = true;
}
obj.controller.render();
- obj.retrieve();
+ obj.retrieve(true);
obj.controller.view.cmd_retrieve_patron.setAttribute('disabled','true');
obj.controller.view.cmd_holds_edit_pickup_lib.setAttribute('disabled','true');
Modified: trunk/Open-ILS/xul/staff_client/server/patron/holds.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/holds.xul 2008-04-04 02:51:54 UTC (rev 9215)
+++ trunk/Open-ILS/xul/staff_client/server/patron/holds.xul 2008-04-04 03:41:02 UTC (rev 9216)
@@ -50,7 +50,7 @@
'pull' : xul_param('pull'),
}
);
- window.refresh = function(p) { g.holds.retrieve(p); }
+ window.refresh = function(p) { g.holds.list.clear(); g.holds.retrieve(p); }
default_focus();
More information about the open-ils-commits
mailing list