Pman.Request.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 13 Sep 2010 05:02:19 +0000 (13:02 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 13 Sep 2010 05:02:19 +0000 (13:02 +0800)
Pman.Request.js

index c49e4d8..29c7989 100644 (file)
@@ -85,7 +85,7 @@ Roo.extend(Pman.Request, Roo.data.Connection, {
         var res = Roo.callback(options.failure, options.scope, [response, options]);
         if (res !== true) {
             Roo.MessageBox.hide(); // hide any existing messages..
-            Roo.MessageBox.alert("Error", "Error Sending" + JSON.stringify(response));
+            Roo.MessageBox.alert("Error", "Error Sending" + res || JSON.stringify(response));
         }
     }
 });
\ No newline at end of file