updated modal to not show parentheses when max file size

is not defined...

Also fixing hideAlerts error in ACP when opening the upload modal.
This commit is contained in:
Julian Lam
2015-12-14 11:31:49 -05:00
parent 1cf2ad339a
commit 84a039446c
2 changed files with 2 additions and 4 deletions

View File

@@ -113,8 +113,6 @@ define('admin/settings', ['uploader', 'sounds'], function(uploader, sounds) {
uploader.open(uploadBtn.attr('data-route'), {}, 0, function(image) {
$('#' + uploadBtn.attr('data-target')).val(image);
});
uploader.hideAlerts();
});
});
}