[open-ils-commits] r10020 - branches/rel_1_2_2/Open-ILS/xul/staff_client/chrome/content/OpenILS

svn at svn.open-ils.org svn at svn.open-ils.org
Sat Jul 12 22:08:22 EDT 2008


Author: phasefx
Date: 2008-07-12 22:08:21 -0400 (Sat, 12 Jul 2008)
New Revision: 10020

Modified:
   branches/rel_1_2_2/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js
Log:
Mitigates the script/CPU warning with very large offline patron lists.  Still need to make things async and/or broken up to give the UI thread some CPU time in offline.js.

Modified: branches/rel_1_2_2/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js
===================================================================
--- branches/rel_1_2_2/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js	2008-07-13 02:07:11 UTC (rev 10019)
+++ branches/rel_1_2_2/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js	2008-07-13 02:08:21 UTC (rev 10020)
@@ -157,7 +157,7 @@
 			var data_cache=new OpenILS( );
 			for (var i = 0; i < arguments.length; i++) {
 				try {
-					if (arguments[i] != 'hash' && arguments[i] != 'list') this.error.sdump('D_DATA_STASH','stashing ' + arguments[i] + ' : ' + this[arguments[i]] + (typeof this[arguments[i]] == 'object' ? ' = ' + js2JSON(this[arguments[i]]) : '') + '\n');
+					if (arguments[i] != 'hash' && arguments[i] != 'list') this.error.sdump('D_DATA_STASH','stashing ' + arguments[i] + ' : ' + this[arguments[i]] + (typeof this[arguments[i]] == 'object' ? ' = ' + (this[arguments[i]]) : '') + '\n');
 				} catch(F) { alert(F); }
 				data_cache.wrappedJSObject.OpenILS.prototype.data[arguments[i]] = this[arguments[i]];
 			}



More information about the open-ils-commits mailing list