Duplicate save buttons on the top

[MAILPOET-1448]
This commit is contained in:
Jan Jakeš
2018-07-26 20:33:18 +02:00
parent 80b370eed5
commit c1edee7f14
5 changed files with 13 additions and 4 deletions

View File

@@ -12,7 +12,8 @@ define([
contentRegion: '#mailpoet_editor_content',
sidebarRegion: '#mailpoet_editor_sidebar',
bottomRegion: '#mailpoet_editor_bottom',
headingRegion: '#mailpoet_editor_heading'
headingRegion: '#mailpoet_editor_heading',
topRegion: '#mailpoet_editor_top'
}
});

View File

@@ -324,8 +324,11 @@ define([
});
App.on('start', function (BeforeStartApp) {
var saveView = new Module.SaveView();
BeforeStartApp._appView.showChildView('bottomRegion', saveView);
var topSaveView = new Module.SaveView();
BeforeStartApp._appView.showChildView('topRegion', topSaveView);
var bottomSaveView = new Module.SaveView();
BeforeStartApp._appView.showChildView('bottomRegion', bottomSaveView);
});
return Module;