diff --git a/apps/documenteditor/forms/app.js b/apps/documenteditor/forms/app.js index 18ce72000c..c5ccbde01e 100644 --- a/apps/documenteditor/forms/app.js +++ b/apps/documenteditor/forms/app.js @@ -154,7 +154,8 @@ require([ 'common/main/lib/view/SearchBar', 'common/forms/lib/view/modals' ], function() { - app.postLaunchScripts = ['documenteditor/forms/code']; + const code_path = !window.isIEBrowser ? 'documenteditor/forms/code' : 'documenteditor/forms/ie/code'; + app.postLaunchScripts = [code_path]; app.start(); }); diff --git a/apps/documenteditor/main/app.js b/apps/documenteditor/main/app.js index fc31392a1b..269cc37fd3 100644 --- a/apps/documenteditor/main/app.js +++ b/apps/documenteditor/main/app.js @@ -205,8 +205,10 @@ require([ ,'common/main/lib/controller/Protection' ,'common/main/lib/controller/Draw' ], function() { + const code_path = !window.isIEBrowser ? + 'documenteditor/main/code' : 'documenteditor/main/ie/code'; app.postLaunchScripts = [ - 'documenteditor/main/code', + code_path, ]; app.start(); }); diff --git a/apps/presentationeditor/main/app.js b/apps/presentationeditor/main/app.js index 9060a7e344..ecfeaf6979 100644 --- a/apps/presentationeditor/main/app.js +++ b/apps/presentationeditor/main/app.js @@ -205,8 +205,9 @@ require([ ,'presentationeditor/main/app/controller/Transitions' ,'presentationeditor/main/app/controller/Animation' ], function() { + const code_path = !window.isIEBrowser ? 'presentationeditor/main/code' : 'presentationeditor/main/ie/code'; app.postLaunchScripts = [ - 'presentationeditor/main/code', + code_path, ]; app.start(); diff --git a/apps/spreadsheeteditor/main/app.js b/apps/spreadsheeteditor/main/app.js index 7e344f954e..72b7db6ac2 100644 --- a/apps/spreadsheeteditor/main/app.js +++ b/apps/spreadsheeteditor/main/app.js @@ -205,8 +205,9 @@ require([ ,'common/main/lib/controller/Protection' ,'common/main/lib/controller/Draw' ], function() { + const code_path = !window.isIEBrowser ? 'spreadsheeteditor/main/code' : 'spreadsheeteditor/main/ie/code'; app.postLaunchScripts = [ - 'spreadsheeteditor/main/code', + code_path, ]; app.start(); diff --git a/apps/visioeditor/main/app.js b/apps/visioeditor/main/app.js index ff827d7475..b5c298fa71 100644 --- a/apps/visioeditor/main/app.js +++ b/apps/visioeditor/main/app.js @@ -167,8 +167,9 @@ require([ 'common/main/lib/controller/Chat', 'common/main/lib/controller/Plugins' ], function() { + const code_path = !window.isIEBrowser ? 'visioeditor/main/code' : 'visioeditor/main/ie/code'; app.postLaunchScripts = [ - 'visioeditor/main/code' + code_path, ]; app.start();