mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +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) {
|
chunkfail: function(e, res) {
|
||||||
lastUploadTime = Date.now();
|
lastUploadTime = Date.now();
|
||||||
if (chunkStatus) {
|
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;
|
return chunkStatus = false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -169,7 +169,7 @@
|
||||||
result = jQuery.parseJSON(result);
|
result = jQuery.parseJSON(result);
|
||||||
}
|
}
|
||||||
if (!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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -215,7 +215,7 @@
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
$container.data('editorStatus', null);
|
$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;
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -229,7 +229,7 @@
|
||||||
}
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
if (chunkStatus) {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue