Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit eb6e98b

Browse files
committed
throw error if only tags are missing in edit listing
1 parent 3bdc86e commit eb6e98b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/views/itemEditVw.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,7 @@ module.exports = baseVw.extend({
522522

523523
if(keywordsArray.length < 1){
524524
this.$('#inputKeyword').closest('.flexRow').addClass('invalid');
525+
messageModal.show(window.polyglot.t('errorMessages.saveError'), window.polyglot.t('errorMessages.missingError') + "<br><i>"+ polyglot.t('Tags')+"</i>");
525526
return $.Deferred().reject('failed form validation').promise();
526527
} else {
527528
this.$('#inputKeyword').closest('.flexRow').removeClass('invalid');

0 commit comments

Comments
 (0)