From: phasefx Date: Wed, 26 Sep 2007 23:47:31 +0000 (+0000) Subject: fancy_prompt regression. Thanks Murphy! X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7cbda716d863cba01f5de79cfe89ab8c518b8c7e;p=Evergreen.git fancy_prompt regression. Thanks Murphy! git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@7846 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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;