[open-ils-commits] r7846 - branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/util

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Sep 26 19:57:22 EDT 2007


Author: phasefx
Date: 2007-09-26 19:47:31 -0400 (Wed, 26 Sep 2007)
New Revision: 7846

Modified:
   branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/util/error.js
Log:
fancy_prompt regression.  Thanks Murphy!

Modified: branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/util/error.js
===================================================================
--- branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/util/error.js	2007-09-26 23:46:21 UTC (rev 7845)
+++ branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/util/error.js	2007-09-26 23:47:31 UTC (rev 7846)
@@ -424,7 +424,7 @@
 		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;



More information about the open-ils-commits mailing list