Roo.log(act);
//console.log(act);
if (_this.callback) {
- _this.callback.call(this, act.result.data);
+ _this.callback.call(this, act.result.data, act.result.extra);
}
return;
}
Roo.log(act);
try {
- Roo.MessageBox.alert("Error -x", act.result.errorMsg.split(/\n/).join('<BR/>'));
+ Roo.MessageBox.alert("Error", act.result.errorMsg.split(/\n/).join('<BR/>'));
} catch(e) {
// Roo.log(e);
Roo.MessageBox.alert("Error", "Saving failed = fix errors and try again");