Pman.GoogleTranslate.js
authorChris <chris@roojs.com>
Wed, 2 Apr 2014 10:41:39 +0000 (18:41 +0800)
committerChris <chris@roojs.com>
Wed, 2 Apr 2014 10:41:39 +0000 (18:41 +0800)
Pman.GoogleTranslate.js

index 1ceca8f..4c75055 100644 (file)
@@ -150,7 +150,7 @@ Pman.GoogleTranslate = function(str, src, dest, cb, force) {
             },
             failure: function (res) {
                 Roo.log(res);
-                Roo.MessageBox.alert("Failure", res.data.error.message);
+                Roo.MessageBox.alert("Failure ", 'Got error');
             }
         });
 //