mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 08:41:39 +09:00
Remove unnecessary <br> tag from uploader error messages
This commit is contained in:
parent
847415f1af
commit
4869d4384d
1 changed files with 4 additions and 4 deletions
|
|
@ -145,7 +145,7 @@
|
|||
chunkfail: function(e, res) {
|
||||
lastUploadTime = Date.now();
|
||||
if (chunkStatus) {
|
||||
alert(window.xe.lang.msg_file_upload_error + " (Type 3)" + "<br>\n" + res.errorThrown + "<br>\n" + res.textStatus);
|
||||
alert(window.xe.lang.msg_file_upload_error + " (Type 3)" + "\n" + res.errorThrown + "\n" + res.textStatus);
|
||||
return chunkStatus = false;
|
||||
}
|
||||
},
|
||||
|
|
@ -169,7 +169,7 @@
|
|||
result = jQuery.parseJSON(result);
|
||||
}
|
||||
if (!result) {
|
||||
alert(window.xe.lang.msg_file_upload_error + " (Type 5)" + "<br>\n" + res.response().result);
|
||||
alert(window.xe.lang.msg_file_upload_error + " (Type 5)" + "\n" + res.response().result);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -215,7 +215,7 @@
|
|||
return false;
|
||||
} else {
|
||||
$container.data('editorStatus', null);
|
||||
alert(window.xe.lang.msg_file_upload_error + " (Type 6)" + "<br>\n" + res.response().result);
|
||||
alert(window.xe.lang.msg_file_upload_error + " (Type 6)" + "\n" + res.response().result);
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
|
@ -229,7 +229,7 @@
|
|||
}
|
||||
}, 1000);
|
||||
if (chunkStatus) {
|
||||
alert(window.xe.lang.msg_file_upload_error + " (Type 7)" + "<br>\n" + res.errorThrown + "<br>\n" + res.textStatus);
|
||||
alert(window.xe.lang.msg_file_upload_error + " (Type 7)" + "\n" + res.errorThrown + "\n" + res.textStatus);
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue