mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 11:45:48 +02:00
add back alert
This commit is contained in:
@@ -152,6 +152,7 @@ define('pictureCropper', ['translator', 'cropper', 'benchpress'], function (tran
|
||||
if (type === 'error') {
|
||||
data.uploadModal.find('#fileUploadSubmitBtn').removeClass('disabled');
|
||||
}
|
||||
data.uploadModal.find('#alert-' + type).translateText(message).removeClass('hide');
|
||||
}
|
||||
var fileInput = data.uploadModal.find('#fileInput');
|
||||
if (!fileInput.val()) {
|
||||
|
||||
Reference in New Issue
Block a user