Pman.Dialog.Image.bjs
[Pman.Core] / Pman.Dialog.Image.js
index 7d153dc..cb5d2b8 100644 (file)
@@ -167,7 +167,7 @@ Pman.Dialog.Image = {
                                         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");