From 7cbda716d863cba01f5de79cfe89ab8c518b8c7e Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 26 Sep 2007 23:47:31 +0000 Subject: [PATCH] fancy_prompt regression. Thanks Murphy! git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@7846 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/util/error.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/util/error.js b/Open-ILS/xul/staff_client/chrome/content/util/error.js index 79fa41de2d..56fbd60e1d 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/error.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/error.js @@ -424,7 +424,7 @@ util.error.prototype = { var fancy_prompt_data = win.open( url, 'fancy_prompt', 'chrome,resizable,modal,width=700,height=500', { 'xml' : xml, 'title' : title } ); - if (fancy_prompt_data == 'complete') { + if (fancy_prompt_data.fancy_status == 'complete') { switch(fancy_prompt_data.fancy_submit) { case 'b1' : return 0; break; case 'b2' : return 1; break; -- 2.11.0