This repository was archived by the owner on May 16, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments