Skip to content
Permalink
Browse files

MAGETWO-97483: Product content editor at store view scope doesn't wor…

…k initially
  • Loading branch information...
nikita-shcherbatykh committed Jan 23, 2019
1 parent 59a8ce8 commit ba4bd08cde8d6639dfe084f1d9ea4e488e11f8e6
Showing with 4 additions and 2 deletions.
  1. +4 −2 app/code/Magento/Ui/view/base/web/js/form/element/wysiwyg.js
@@ -141,8 +141,10 @@ define([
}

/* eslint-disable no-undef */
this.currentWysiwyg.setEnabledStatus(!disabled);
this.currentWysiwyg.getPluginButtons().prop('disabled', disabled);
if (!_.isUndefined(this.currentWysiwyg) && this.currentWysiwyg.activeEditor()) {
this.currentWysiwyg.setEnabledStatus(!disabled);
this.currentWysiwyg.getPluginButtons().prop('disabled', disabled);
}
}
});
});

0 comments on commit ba4bd08

Please sign in to comment.
You can’t perform that action at this time.