From cafce76d6f5bfa278b62a2ad70cba06310fb0bbc Mon Sep 17 00:00:00 2001 From: phasefx Date: Sun, 13 Jul 2008 02:07:11 +0000 Subject: [PATCH] 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. git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@10019 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js b/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js index c6e1159f23..7cf12df75c 100644 --- a/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js +++ b/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js @@ -157,7 +157,7 @@ OpenILS.data.prototype = { 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]]; } -- 2.11.0