don't dump the org tree or my_orgs
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 7 Feb 2006 01:19:23 +0000 (01:19 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 7 Feb 2006 01:19:23 +0000 (01:19 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2993 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js

index 8aed235..78a200c 100644 (file)
@@ -121,7 +121,11 @@ OpenILS.data.prototype = {
                                }
 
                                try {
+                                       var level = obj.error.sdump_levels.D_SES_RESULT;
+                                       if (classname == 'aou' || classname == 'my_aou')
+                                               obj.error.sdump_levels.D_SES_RESULT = false;
                                        obj.list[classname] = obj.network.request( app, method, params);
+                                       obj.error.sdump_levels.D_SES_RESULT = level;
                                        convert();
                                        // if cacheable, store an offline copy
                                        /* FIXME -- we're going to revisit caching and do it differently