[open-ils-commits] r12024 - branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/util

svn at svn.open-ils.org svn at svn.open-ils.org
Sat Jan 31 16:31:04 EST 2009


Author: phasefx
Date: 2009-01-31 16:31:00 -0500 (Sat, 31 Jan 2009)
New Revision: 12024

Modified:
   branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/util/browser.js
Log:
can't use js2JSON when we're pushing around functions, windows, etc.

Modified: branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/util/browser.js
===================================================================
--- branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/util/browser.js	2009-01-31 21:16:31 UTC (rev 12023)
+++ branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/util/browser.js	2009-01-31 21:31:00 UTC (rev 12024)
@@ -122,7 +122,7 @@
 			cw.xulG.set_tab = window.xulG.set_tab;
 			cw.xulG.new_tab = window.xulG.new_tab;
 			cw.xulG.url_prefix = window.xulG.url_prefix;
-			try { s += ('******** cw = ' + cw + ' cw.xulG = ' + js2JSON(cw.xulG) + '\n'); } catch(E) { s+=E + '\n'; }
+			try { s += ('******** cw = ' + cw + ' cw.xulG = ' + (cw.xulG) + '\n'); } catch(E) { s+=E + '\n'; }
 			obj.error.sdump('D_BROWSER',s);
 		} catch(E) {
 			this.error.sdump('D_ERROR','util.browser.push_variables: ' + E + '\n');
@@ -250,7 +250,7 @@
 						}
 						//obj.error.sdump('D_BROWSER',s);	
 					} catch(E) {
-						obj.error.sdump('D_ERROR','util.browser.progresslistener.onstatechange: ' + js2JSON(E));
+						obj.error.sdump('D_ERROR','util.browser.progresslistener.onstatechange: ' + (E));
 					}
 				}
 			}



More information about the open-ils-commits mailing list