diff --git a/apps/spreadsheeteditor/mobile/app-dev.js b/apps/spreadsheeteditor/mobile/app-dev.js index 1aca0f40c..7586286e1 100644 --- a/apps/spreadsheeteditor/mobile/app-dev.js +++ b/apps/spreadsheeteditor/mobile/app-dev.js @@ -118,6 +118,7 @@ require([ 'Toolbar', 'Main', 'DocumentHolder' + , 'CellEditor' // ,'Settings' // ,'EditContainer' // ,'EditText' @@ -182,6 +183,7 @@ require([ 'spreadsheeteditor/mobile/app/controller/Toolbar', 'spreadsheeteditor/mobile/app/controller/Main', 'spreadsheeteditor/mobile/app/controller/DocumentHolder' + , 'spreadsheeteditor/mobile/app/controller/CellEditor' // ,'documenteditor/mobile/app/controller/Settings' // ,'documenteditor/mobile/app/controller/edit/EditContainer' // ,'documenteditor/mobile/app/controller/edit/EditText' diff --git a/apps/spreadsheeteditor/mobile/app/controller/Main.js b/apps/spreadsheeteditor/mobile/app/controller/Main.js index 8ff677ee9..69746ad6d 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Main.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Main.js @@ -115,7 +115,6 @@ define([ me.api.asc_registerCallback('asc_onPrintUrl', _.bind(me.onPrintUrl, me)); me.api.asc_registerCallback('asc_onDocumentName', _.bind(me.onDocumentName, me)); me.api.asc_registerCallback('asc_onEndAction', _.bind(me.onLongActionEnd, me)); - me.api.asc_registerCallback('asc_onSelectionNameChanged', _.bind(me.onApiCellSelection, me)); /**/ // this.api.asc_registerCallback('asc_onCoAuthoringDisconnect', _.bind(this.onCoAuthoringDisconnect, this)); // this.api.asc_registerCallback('asc_onPrintUrl', _.bind(this.onPrintUrl, this)); @@ -314,15 +313,6 @@ define([ // } }, - onApiCellSelection: function(info) { - if ( info ) { - if ( !this.$cellname ) - this.$cellname = $('#ce-cell-name'); - - this.$cellname.html(typeof(info)=='string' ? info : info.asc_getName()); - } - }, - onLongActionBegin: function(type, id) { var action = {id: id, type: type}; this.stackLongActions.push(action);