Allow scrolling when Posts or Products widgets are opened

[MAILPOET-1974]
This commit is contained in:
Ján Mikláš
2019-05-15 15:30:31 +02:00
committed by M. Shull
parent 78c822dec0
commit cc2dfcddb8
2 changed files with 2 additions and 0 deletions

View File

@@ -246,6 +246,7 @@ Module.PostsBlockSettingsView = base.BlockSettingsView.extend({
element: this.$el, element: this.$el,
template: '', template: '',
position: 'right', position: 'right',
overlayRender: false,
width: App.getConfig().get('sidepanelWidth'), width: App.getConfig().get('sidepanelWidth'),
onCancel: function () { onCancel: function () {
// Self destroy the block if the user closes settings modal // Self destroy the block if the user closes settings modal

View File

@@ -245,6 +245,7 @@ Module.ProductsBlockSettingsView = base.BlockSettingsView.extend({
element: this.$el, element: this.$el,
template: '', template: '',
position: 'right', position: 'right',
overlayRender: false,
width: App.getConfig().get('sidepanelWidth'), width: App.getConfig().get('sidepanelWidth'),
onCancel: function onCancel() { onCancel: function onCancel() {
// Self destroy the block if the user closes settings modal // Self destroy the block if the user closes settings modal