From 6f1846f3fb54ed657cdf853679b92055fa08fd50 Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 21 Dec 2005 00:17:31 +0000 Subject: [PATCH] give display something to call, and bill a way to callback to display git-svn-id: svn://svn.open-ils.org/ILS/trunk@2483 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/bills.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/patron/bills.js b/Open-ILS/xul/staff_client/server/patron/bills.js index e36ccd2cc6..dbe09cf14a 100644 --- a/Open-ILS/xul/staff_client/server/patron/bills.js +++ b/Open-ILS/xul/staff_client/server/patron/bills.js @@ -10,6 +10,7 @@ patron.bills = function (params) { } catch(E) { alert(E); } + window.refresh = function() { this.refresh(); } } patron.bills.prototype = { @@ -77,6 +78,9 @@ patron.bills.prototype = { 'billwizard', 'chrome,resizable,modal' ); + if (typeof window.display_refresh == 'function') { + try { window.display_refresh(); } catch(E) { obj.error.sdump('D_ERROR',E); } + } obj.refresh(); } catch(E) { obj.error.sdump('D_ERROR',E); -- 2.43.2