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

Commit 98352b9

Browse files
committed
some code cleanup
1 parent 6994b55 commit 98352b9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

js/views/itemEditVw.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -526,13 +526,9 @@ module.exports = baseVw.extend({
526526
validateMediumEditor.checkVal(this.$('#inputDescription'));
527527

528528
if (keywordsArray.length < 1){
529-
// this.$('#inputKeyword').closest('.flexRow').addClass('invalid');
530529
this.$('#inputKeyword').addClass('invalid');
531-
// messageModal.show(window.polyglot.t('errorMessages.saveError'), window.polyglot.t('errorMessages.missingError') + "<br><i>"+ window.polyglot.t('Tags')+"</i>");
532-
// return $.Deferred().reject('failed form validation').promise();
533530
hasError = true;
534531
}
535-
// this.$('#inputKeyword').closest('.flexRow').removeClass('invalid');
536532

537533
keywordsArray = keywordsArray.map(function(tag){
538534
var re = /#/g;
@@ -557,8 +553,6 @@ module.exports = baseVw.extend({
557553
if (!shipsToInput.val() && !this.noShipping){
558554
this.$('.js-shipToWrapper').addClass('invalid');
559555
hasError = true;
560-
// messageModal.show(window.polyglot.t('errorMessages.saveError'), window.polyglot.t('errorMessages.missingError'));
561-
// return $.Deferred().reject('failed form validation').promise();
562556
}
563557

564558
//add old and new image hashes

0 commit comments

Comments
 (0)