*** empty log message ***
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 13 Jul 2006 21:16:39 +0000 (21:16 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 13 Jul 2006 21:16:39 +0000 (21:16 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@4982 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/util/network.js

index 3de353a..a68a1dc 100644 (file)
@@ -109,8 +109,7 @@ util.network.prototype = {
                                r = 1;
 
                        } else {
-                               try { obj.error.sdump('D_SES_ERROR','request '+app+' '+name+' '+obj.error.pretty_print(params.slice(1,params.length-1))+
-                                       '\no_params = ' + o_params + '\nReturned null\n'); } catch(E) { alert(E); }
+                               try { obj.error.sdump('D_SES_ERROR','method: ' + name + '\nparams: '+ js2JSON(params) + '\nReturned null\n'); } catch(E) { alert(E); }
                                r = obj.error.yns_alert('Network failure.  Please check your Internet connection to ' + data.server_unadorned + ' and choose Retry Network.  If you need to enter Offline Mode, choose Proceed Offline in this and subsequent dialogs.  If you believe this error is due to a bug in Evergreen and not network problems, please contact your helpdesk or friendly Evergreen admins, and give them this message: method=' + name + ' params=' + js2JSON(params) + '.','Network Failure','Retry Network','Proceed Offline',null,'Check here to confirm this message');
                                if (r == 1) {
                                        data.proceed_offline = true; data.stash('proceed_offline');