}
return;
}
+
+
+
},
rendered : function (form)
{
Roo.log("Upload error");
Roo.log(act);
try {
- Roo.MessageBox.alert("Error", act.result.errorMsg);
+ 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");
labelWidth : 140,
method : 'POST',
style : 'margin:10px;',
+ timeout : 300,
url : baseURL + '/Roo/Images.php',
items : [
{