From 3132515c5563a2d417acfafb407d2c81370bcb75 Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 29 Jul 2009 09:09:19 +0000 Subject: [PATCH] for now, disable refresh of entire patron interface after penalty manipulation. What we're really avoiding is the stop-sign page. Want to revamp how the patron interface works here to make use of observers. git-svn-id: svn://svn.open-ils.org/ILS/trunk@13773 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/standing_penalties.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/patron/standing_penalties.js b/Open-ILS/xul/staff_client/server/patron/standing_penalties.js index 30c99b9703..622deb22b7 100644 --- a/Open-ILS/xul/staff_client/server/patron/standing_penalties.js +++ b/Open-ILS/xul/staff_client/server/patron/standing_penalties.js @@ -163,9 +163,11 @@ function generate_request_handler_for_penalty_apply(penalty,id) { rows[ penalty.id() ] = row_params; list.append( row_params ); } + /* if (xulG && typeof xulG.refresh == 'function') { xulG.refresh(); } + */ document.getElementById('progress').hidden = true; } catch(E) { @@ -188,9 +190,11 @@ function handle_remove_penalty(ev) { } funcs.push( function() { + /* if (xulG && typeof xulG.refresh == 'function') { xulG.refresh(); } + */ document.getElementById('progress').hidden = true; } ); -- 2.11.0