Content deleted Content added
. |
. |
||
Line 651:
var titleHasCorrectExtension = self.checkMimes();
if (!titleHasCorrectExtension && self.resizedFile) {
self.titleInputField.setErrors([
' self.resizedFile.type
.replace('image/', '')
.replace(/\+.*$/, '')
.toUpperCase() +
' image)'
]);
}
Line 667 ⟶ 674:
},
function() {
self.actions.setAbilities({
upload: false
|