Commit 6c75dbab authored by Julia Radzhabova's avatar Julia Radzhabova

Bug 33646

parent 5ea7c596
...@@ -178,6 +178,7 @@ require([ ...@@ -178,6 +178,7 @@ require([
'documenteditor/main/app/controller/RightMenu', 'documenteditor/main/app/controller/RightMenu',
'documenteditor/main/app/controller/LeftMenu', 'documenteditor/main/app/controller/LeftMenu',
'documenteditor/main/app/controller/Main', 'documenteditor/main/app/controller/Main',
'documenteditor/main/app/view/FileMenuPanels',
'documenteditor/main/app/view/ParagraphSettings', 'documenteditor/main/app/view/ParagraphSettings',
'documenteditor/main/app/view/HeaderFooterSettings', 'documenteditor/main/app/view/HeaderFooterSettings',
'documenteditor/main/app/view/ImageSettings', 'documenteditor/main/app/view/ImageSettings',
......
...@@ -178,8 +178,6 @@ define([ ...@@ -178,8 +178,6 @@ define([
); );
var me = this; var me = this;
this.panels = {};
require(['documenteditor/main/app/view/FileMenuPanels'], function(){
me.panels = { me.panels = {
// 'saveas' : (new DE.Views.FileMenuPanels.ViewSaveAs({menu:me})).render(), // 'saveas' : (new DE.Views.FileMenuPanels.ViewSaveAs({menu:me})).render(),
'opts' : (new DE.Views.FileMenuPanels.Settings({menu:me})).render(), 'opts' : (new DE.Views.FileMenuPanels.Settings({menu:me})).render(),
...@@ -189,7 +187,6 @@ define([ ...@@ -189,7 +187,6 @@ define([
}; };
me.$el.find('.content-box').hide(); me.$el.find('.content-box').hide();
});
return this; return this;
}, },
......
...@@ -168,6 +168,7 @@ require([ ...@@ -168,6 +168,7 @@ require([
'documenteditor/main/app/controller/RightMenu', 'documenteditor/main/app/controller/RightMenu',
'documenteditor/main/app/controller/LeftMenu', 'documenteditor/main/app/controller/LeftMenu',
'documenteditor/main/app/controller/Main', 'documenteditor/main/app/controller/Main',
'documenteditor/main/app/view/FileMenuPanels',
'documenteditor/main/app/view/ParagraphSettings', 'documenteditor/main/app/view/ParagraphSettings',
'documenteditor/main/app/view/HeaderFooterSettings', 'documenteditor/main/app/view/HeaderFooterSettings',
'documenteditor/main/app/view/ImageSettings', 'documenteditor/main/app/view/ImageSettings',
......
...@@ -172,6 +172,7 @@ require([ ...@@ -172,6 +172,7 @@ require([
'presentationeditor/main/app/controller/RightMenu', 'presentationeditor/main/app/controller/RightMenu',
'presentationeditor/main/app/controller/LeftMenu', 'presentationeditor/main/app/controller/LeftMenu',
'presentationeditor/main/app/controller/Main', 'presentationeditor/main/app/controller/Main',
'presentationeditor/main/app/view/FileMenuPanels',
'presentationeditor/main/app/view/ParagraphSettings', 'presentationeditor/main/app/view/ParagraphSettings',
'presentationeditor/main/app/view/ImageSettings', 'presentationeditor/main/app/view/ImageSettings',
'presentationeditor/main/app/view/ShapeSettings', 'presentationeditor/main/app/view/ShapeSettings',
......
...@@ -175,8 +175,6 @@ define([ ...@@ -175,8 +175,6 @@ define([
); );
var me = this; var me = this;
this.panels = {};
require(['presentationeditor/main/app/view/FileMenuPanels'], function(){
me.panels = { me.panels = {
'saveas' : (new PE.Views.FileMenuPanels.ViewSaveAs({menu:me})).render(), 'saveas' : (new PE.Views.FileMenuPanels.ViewSaveAs({menu:me})).render(),
'opts' : (new PE.Views.FileMenuPanels.Settings({menu:me})).render(), 'opts' : (new PE.Views.FileMenuPanels.Settings({menu:me})).render(),
...@@ -186,7 +184,6 @@ define([ ...@@ -186,7 +184,6 @@ define([
}; };
me.$el.find('.content-box').hide(); me.$el.find('.content-box').hide();
});
return this; return this;
}, },
......
...@@ -163,6 +163,7 @@ require([ ...@@ -163,6 +163,7 @@ require([
'presentationeditor/main/app/controller/RightMenu', 'presentationeditor/main/app/controller/RightMenu',
'presentationeditor/main/app/controller/LeftMenu', 'presentationeditor/main/app/controller/LeftMenu',
'presentationeditor/main/app/controller/Main', 'presentationeditor/main/app/controller/Main',
'presentationeditor/main/app/view/FileMenuPanels',
'presentationeditor/main/app/view/ParagraphSettings', 'presentationeditor/main/app/view/ParagraphSettings',
'presentationeditor/main/app/view/ImageSettings', 'presentationeditor/main/app/view/ImageSettings',
'presentationeditor/main/app/view/ShapeSettings', 'presentationeditor/main/app/view/ShapeSettings',
......
...@@ -174,6 +174,7 @@ require([ ...@@ -174,6 +174,7 @@ require([
'spreadsheeteditor/main/app/controller/LeftMenu', 'spreadsheeteditor/main/app/controller/LeftMenu',
'spreadsheeteditor/main/app/controller/Main', 'spreadsheeteditor/main/app/controller/Main',
'spreadsheeteditor/main/app/controller/Print', 'spreadsheeteditor/main/app/controller/Print',
'spreadsheeteditor/main/app/view/FileMenuPanels',
'spreadsheeteditor/main/app/view/ParagraphSettings', 'spreadsheeteditor/main/app/view/ParagraphSettings',
'spreadsheeteditor/main/app/view/ImageSettings', 'spreadsheeteditor/main/app/view/ImageSettings',
'spreadsheeteditor/main/app/view/ChartSettings', 'spreadsheeteditor/main/app/view/ChartSettings',
......
...@@ -162,8 +162,6 @@ define([ ...@@ -162,8 +162,6 @@ define([
); );
var me = this; var me = this;
this.panels = {};
require(['spreadsheeteditor/main/app/view/FileMenuPanels'], function(){
me.panels = { me.panels = {
'saveas' : (new SSE.Views.FileMenuPanels.ViewSaveAs({menu:me})).render(), 'saveas' : (new SSE.Views.FileMenuPanels.ViewSaveAs({menu:me})).render(),
'opts' : (new SSE.Views.FileMenuPanels.Settings({menu:me})).render(), 'opts' : (new SSE.Views.FileMenuPanels.Settings({menu:me})).render(),
...@@ -173,7 +171,6 @@ define([ ...@@ -173,7 +171,6 @@ define([
}; };
me.$el.find('.content-box').hide(); me.$el.find('.content-box').hide();
});
return this; return this;
}, },
......
...@@ -164,6 +164,7 @@ require([ ...@@ -164,6 +164,7 @@ require([
'spreadsheeteditor/main/app/controller/LeftMenu', 'spreadsheeteditor/main/app/controller/LeftMenu',
'spreadsheeteditor/main/app/controller/Main', 'spreadsheeteditor/main/app/controller/Main',
'spreadsheeteditor/main/app/controller/Print', 'spreadsheeteditor/main/app/controller/Print',
'spreadsheeteditor/main/app/view/FileMenuPanels',
'spreadsheeteditor/main/app/view/ParagraphSettings', 'spreadsheeteditor/main/app/view/ParagraphSettings',
'spreadsheeteditor/main/app/view/ImageSettings', 'spreadsheeteditor/main/app/view/ImageSettings',
'spreadsheeteditor/main/app/view/ChartSettings', 'spreadsheeteditor/main/app/view/ChartSettings',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment