From 1992fcbeadfe597a6cddc1223d5deb84b7f18c32 Mon Sep 17 00:00:00 2001 From: pines Date: Wed, 18 Jan 2006 20:50:29 +0000 Subject: [PATCH] possible to break if you have multiple modal windows open (which is possible if you have multiple main windows open) git-svn-id: svn://svn.open-ils.org/ILS/trunk@2747 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/bill_cc_info.xul | 1 + Open-ILS/xul/staff_client/server/patron/bill_check_info.xul | 1 + Open-ILS/xul/staff_client/server/patron/bills.js | 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/patron/bill_cc_info.xul b/Open-ILS/xul/staff_client/server/patron/bill_cc_info.xul index 71e03fd2b0..02cf27da32 100644 --- a/Open-ILS/xul/staff_client/server/patron/bill_cc_info.xul +++ b/Open-ILS/xul/staff_client/server/patron/bill_cc_info.xul @@ -47,6 +47,7 @@ } function info_finish() { + /* FIXME -- need unique temp space name */ g.OpenILS.data.temp = js2JSON( g.payment_blob ); g.OpenILS.data.stash('temp'); } diff --git a/Open-ILS/xul/staff_client/server/patron/bill_check_info.xul b/Open-ILS/xul/staff_client/server/patron/bill_check_info.xul index c63334b138..181c372e75 100644 --- a/Open-ILS/xul/staff_client/server/patron/bill_check_info.xul +++ b/Open-ILS/xul/staff_client/server/patron/bill_check_info.xul @@ -47,6 +47,7 @@ } function info_finish() { + /* FIXME -- need unique temp space name */ g.OpenILS.data.temp = js2JSON( g.payment_blob ); g.OpenILS.data.stash('temp'); } diff --git a/Open-ILS/xul/staff_client/server/patron/bills.js b/Open-ILS/xul/staff_client/server/patron/bills.js index 6ee32f5369..d91dd68892 100644 --- a/Open-ILS/xul/staff_client/server/patron/bills.js +++ b/Open-ILS/xul/staff_client/server/patron/bills.js @@ -241,15 +241,17 @@ patron.bills.prototype = { 'chrome,resizable,modal' ); obj.OpenILS.data.stash_retrieve(); + /* FIXME -- need unique temp space name */ payment_blob = JSON2js( obj.OpenILS.data.temp ); break; case 'check_payment' : var w = win.open( urls.XUL_PATRON_BILL_CHECK_INFO, - 'billccinfo', + 'billcheckinfo', 'chrome,resizable,modal' ); obj.OpenILS.data.stash_retrieve(); + /* FIXME -- need unique temp space name */ payment_blob = JSON2js( obj.OpenILS.data.temp ); break; } -- 2.43.2