From: Jason Etheridge Date: Tue, 1 Oct 2013 20:20:11 +0000 (-0400) Subject: modify standing_penalties.js X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=612522324166b34adf54343ed80d81f4989f5dc7;p=working%2FEvergreen.git modify standing_penalties.js --- 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) {