From 612522324166b34adf54343ed80d81f4989f5dc7 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Tue, 1 Oct 2013 16:20:11 -0400 Subject: [PATCH] modify standing_penalties.js --- .../xul/staff_client/server/patron/standing_penalties.js | 12 ++++++++++++ 1 file changed, 12 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 7a1786f08b..4f1317cd44 100644 --- a/Open-ILS/xul/staff_client/server/patron/standing_penalties.js +++ b/Open-ILS/xul/staff_client/server/patron/standing_penalties.js @@ -211,6 +211,9 @@ function generate_request_handler_for_penalty_apply(penalty,id) { xulG.refresh(); } */ + if (xulG && typeof xulG.reset_summary == 'function') { + xulG.reset_summary(); + } document.getElementById('progress').hidden = true; } catch(E) { @@ -238,6 +241,9 @@ function handle_remove_penalty(ev) { xulG.refresh(); } */ + if (xulG && typeof xulG.reset_summary == 'function') { + xulG.reset_summary(); + } document.getElementById('progress').hidden = true; //patron.util.set_penalty_css(xulG.patron); @@ -340,6 +346,9 @@ function handle_edit_penalty(ev) { xulG.refresh(); } */ + if (xulG && typeof xulG.reset_summary == 'function') { + xulG.reset_summary(); + } } } catch(E) { @@ -400,6 +409,9 @@ function handle_archive_penalty(ev) { xulG.refresh(); } */ + if (xulG && typeof xulG.reset_summary == 'function') { + xulG.reset_summary(); + } } } catch(E) { -- 2.11.0