Fix ALC block view settings opening on click
[MAILPOET-1819]
This commit is contained in:
committed by
M. Shull
parent
265b35586d
commit
b8ce70ec2f
@@ -135,9 +135,9 @@ Module.AutomatedLatestContentBlockView = base.BlockView.extend({
|
|||||||
postsChanged: 'render',
|
postsChanged: 'render',
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
events: _.extend(base.BlockView.prototype.events, {
|
events: {
|
||||||
'click .mailpoet_automated_latest_content_block_overlay': 'showSettings',
|
'click .mailpoet_automated_latest_content_block_overlay': 'showSettings',
|
||||||
}),
|
},
|
||||||
onDragSubstituteBy: function () { return Module.AutomatedLatestContentWidgetView; },
|
onDragSubstituteBy: function () { return Module.AutomatedLatestContentWidgetView; },
|
||||||
onRender: function () {
|
onRender: function () {
|
||||||
var ContainerView = App.getBlockTypeView('container');
|
var ContainerView = App.getBlockTypeView('container');
|
||||||
|
@@ -131,9 +131,9 @@ Module.AutomatedLatestContentLayoutBlockView = base.BlockView.extend({
|
|||||||
postsChanged: 'render',
|
postsChanged: 'render',
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
events: _.extend(base.BlockView.prototype.events, {
|
events: {
|
||||||
'click .mailpoet_automated_latest_content_block_overlay': 'showSettings',
|
'click .mailpoet_automated_latest_content_block_overlay': 'showSettings',
|
||||||
}),
|
},
|
||||||
onDragSubstituteBy: function () { return Module.AutomatedLatestContentLayoutWidgetView; },
|
onDragSubstituteBy: function () { return Module.AutomatedLatestContentLayoutWidgetView; },
|
||||||
onRender: function () {
|
onRender: function () {
|
||||||
var ContainerView = App.getBlockTypeView('container');
|
var ContainerView = App.getBlockTypeView('container');
|
||||||
|
Reference in New Issue
Block a user