mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
🐛 Fix error not appearing below comment
This commit is contained in:
parent
da094e2853
commit
b0876ea0e0
@ -3426,11 +3426,13 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
|
|||||||
Uploader.setFailure(function (status, data) {
|
Uploader.setFailure(function (status, data) {
|
||||||
// revert loading status…
|
// revert loading status…
|
||||||
Alert.hideLoading();
|
Alert.hideLoading();
|
||||||
Alert.setCustomHandler(null);
|
|
||||||
TopNav.showViewButtons();
|
TopNav.showViewButtons();
|
||||||
|
|
||||||
// show error message
|
// show error message
|
||||||
Alert.showError(Uploader.parseUploadError(status, data, 'post comment'));
|
Alert.showError(Uploader.parseUploadError(status, data, 'post comment'));
|
||||||
|
|
||||||
|
// reset error handler
|
||||||
|
Alert.setCustomHandler(null);
|
||||||
});
|
});
|
||||||
|
|
||||||
// fill it with unencrypted params
|
// fill it with unencrypted params
|
||||||
|
Loading…
Reference in New Issue
Block a user