Skip to content

Commit

Permalink
Merge pull request #7 from schmids/master
Browse files Browse the repository at this point in the history
Bugfix for endless loading
  • Loading branch information
wick-ed authored Apr 13, 2017
2 parents e9d3952 + 37c7e8f commit 90c87d5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions view/adminhtml/web/js/page_designer.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,7 @@ define([
"onColumnContentSet": function (column, currentContent, callback) {
// set editor as a block element to be able to access it
var wysControl = jElement.parent().find('.admin__control-wysiwig').parent();

// ensure that tiny mce is ready
if (wysControl.find('.mceEditor').length < 1) {
tinyMCE.dom.Event.domLoaded = true;
wysControl.find('.action-show-hide').get(0).click()
}


if (wysControl.is(':hidden')) {
wysControl.css({
display: 'block',
Expand Down

0 comments on commit 90c87d5

Please sign in to comment.