},
success: function(o)
{
- if (!o) {
+ if (!o.data) {
return o;
}
if(typeof(o.data.error) != 'undefined'){
return;
}
// Roo.MessageBox.alert("Success", "We logged in OK")
- return o.translatedText;
+ return o.data.translatedText;
},
failure: function (res) {
Roo.log(res);