From cf755ff538e122a153cf87ae7c628cdb0ab92f33 Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 26 Sep 2007 23:46:21 +0000 Subject: [PATCH] fancy_prompt regression. Thanks Murphy! git-svn-id: svn://svn.open-ils.org/ILS/trunk@7845 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