diff --git a/test/spreadsheeteditor/main/index.html b/test/spreadsheeteditor/main/index.html index 661c560f0..8743a3b3e 100644 --- a/test/spreadsheeteditor/main/index.html +++ b/test/spreadsheeteditor/main/index.html @@ -8,6 +8,7 @@ + @@ -205,16 +206,18 @@
-
- -
- -
-
- -
-
- +
+
+ +
+
+
+ +
+
+ +
@@ -263,12 +266,16 @@ + + + + --> + + + diff --git a/test/spreadsheeteditor/main/js/ApplicationController.js b/test/spreadsheeteditor/main/js/ApplicationController.js index e97d8dff3..c28f5fca1 100644 --- a/test/spreadsheeteditor/main/js/ApplicationController.js +++ b/test/spreadsheeteditor/main/js/ApplicationController.js @@ -243,6 +243,11 @@ SSE.ApplicationController = new(function(){ Common.Gateway.on('requestclose', onRequestClose); + if(common.controller.CellEditor ) { + common.controller.CellEditor.create(); + common.controller.CellEditor.setApi(api) + common.controller.CellEditor.setMode(config); + } SSE.ApplicationView.tools.get('#idt-fullscreen') .on('click', function(){ diff --git a/test/spreadsheeteditor/main/js/ApplicationView.js b/test/spreadsheeteditor/main/js/ApplicationView.js index 917609fa5..cd16ae144 100644 --- a/test/spreadsheeteditor/main/js/ApplicationView.js +++ b/test/spreadsheeteditor/main/js/ApplicationView.js @@ -30,45 +30,19 @@ * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode * */ + if (SSE === undefined) { var SSE = {}; } SSE.ApplicationView = new(function(){ - var $btnTools - ,$cellname - ,$btnexpand - ,$btnfunc - ,btnNamedRanges; - - - + var $btnTools; // Initialize view function createView(){ - - $cellname = $('#ce-cell-name'); - $btnexpand = $('#ce-btn-expand'); - $btnfunc = $('#ce-func-label'); - $btnfunc.addClass('disabled'); - /*btnNamedRanges = new Common.UI.Button({ - parentEl: $('#ce-cell-name-menu'), - menu : new Common.UI.Menu({ - style : 'min-width: 70px;max-width:400px;', - maxHeight: 250, - items: [ - { caption: this.textManager, value: 'manager' }, - { caption: '--' } - ] - }) - }); - this.btnNamedRanges.setVisible(false); - this.btnNamedRanges.menu.setOffset(-81);*/ - $btnTools = $('#box-tools button'); - $btnTools.addClass('dropdown-toggle').attr('data-toggle', 'dropdown').attr('aria-expanded', 'true'); $btnTools.parent().append( '