From dd8845ea1285df17022171d52327f2f9ebb3b6e6 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Wed, 14 Dec 2016 15:38:22 +0300 Subject: [PATCH] [SSE mobile] modified description --- .../mobile/app/controller/DocumentHolder.js | 1 - apps/spreadsheeteditor/mobile/app/controller/Editor.js | 1 - apps/spreadsheeteditor/mobile/app/controller/Main.js | 5 ++--- apps/spreadsheeteditor/mobile/app/controller/Settings.js | 1 - apps/spreadsheeteditor/mobile/app/controller/add/AddOther.js | 5 ++--- apps/spreadsheeteditor/mobile/app/controller/add/AddShape.js | 3 +-- apps/spreadsheeteditor/mobile/app/view/DocumentHolder.js | 1 - apps/spreadsheeteditor/mobile/app/view/Editor.js | 1 - apps/spreadsheeteditor/mobile/app/view/Settings.js | 1 - apps/spreadsheeteditor/mobile/app/view/add/AddOther.js | 1 - apps/spreadsheeteditor/mobile/app/view/add/AddShape.js | 1 - 11 files changed, 5 insertions(+), 16 deletions(-) diff --git a/apps/spreadsheeteditor/mobile/app/controller/DocumentHolder.js b/apps/spreadsheeteditor/mobile/app/controller/DocumentHolder.js index ca6b5847f..c5b3d5f98 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/DocumentHolder.js +++ b/apps/spreadsheeteditor/mobile/app/controller/DocumentHolder.js @@ -33,7 +33,6 @@ /** * DocumentHolder.js - * Document Editor * * Created by Maxim Kadushkin on 11/15/16 * Copyright (c) 2016 Ascensio System SIA. All rights reserved. diff --git a/apps/spreadsheeteditor/mobile/app/controller/Editor.js b/apps/spreadsheeteditor/mobile/app/controller/Editor.js index 725cc06cc..f84c5252a 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Editor.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Editor.js @@ -33,7 +33,6 @@ /** * Editor.js - * Document Editor * * Created by Maxim Kadushkin on 11/15/16 * Copyright (c) 2016 Ascensio System SIA. All rights reserved. diff --git a/apps/spreadsheeteditor/mobile/app/controller/Main.js b/apps/spreadsheeteditor/mobile/app/controller/Main.js index 69746ad6d..91b617c94 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Main.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Main.js @@ -33,7 +33,6 @@ /** * Main.js - * Document Editor * * Created by Maxim Kadushkin on 11/15/16 * Copyright (c) 2016 Ascensio System SIA. All rights reserved. @@ -98,7 +97,7 @@ define([ me.api = new Asc.spreadsheet_api({ 'id-view' : 'editor_sdk', 'id-input' : 'ce-cell-content' - ,'mobile' : true + // ,'mobile' : true }); if (me.api){ @@ -1437,7 +1436,7 @@ define([ }, leavePageText: 'You have unsaved changes in this document. Click \'Stay on this Page\' then \'Save\' to save them. Click \'Leave this Page\' to discard all the unsaved changes.', - defaultTitleText: 'ONLYOFFICE Document Editor', + defaultTitleText: 'ONLYOFFICE Spreadsheet Editor', criticalErrorTitle: 'Error', notcriticalErrorTitle: 'Warning', errorDefaultMessage: 'Error code: %1', diff --git a/apps/spreadsheeteditor/mobile/app/controller/Settings.js b/apps/spreadsheeteditor/mobile/app/controller/Settings.js index 98dac8334..1ae9666f9 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Settings.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Settings.js @@ -33,7 +33,6 @@ /** * Settings.js - * Document Editor * * Created by Maxim Kadushkin on 12/05/2016 * Copyright (c) 2016 Ascensio System SIA. All rights reserved. diff --git a/apps/spreadsheeteditor/mobile/app/controller/add/AddOther.js b/apps/spreadsheeteditor/mobile/app/controller/add/AddOther.js index 868036729..caaed4ac5 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/add/AddOther.js +++ b/apps/spreadsheeteditor/mobile/app/controller/add/AddOther.js @@ -32,7 +32,6 @@ */ /** * AddOther.js - * Document Editor * * Created by Kadushkin Maxim on 12/07/2016 * Copyright (c) 2016 Ascensio System SIA. All rights reserved. @@ -67,8 +66,8 @@ define([ this.addListeners({ 'AddOther': { 'page:show' : this.onPageShow - , 'insert:link': this.onInsertLink - , 'insert:image': this.onInsertImage + , 'link:insert': this.onInsertLink + , 'image:insert': this.onInsertImage } }); }, diff --git a/apps/spreadsheeteditor/mobile/app/controller/add/AddShape.js b/apps/spreadsheeteditor/mobile/app/controller/add/AddShape.js index d2908f132..51a97ba3b 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/add/AddShape.js +++ b/apps/spreadsheeteditor/mobile/app/controller/add/AddShape.js @@ -33,7 +33,6 @@ /** * AddShape.js - * Document Editor * * Created by Maxim Kadushkin on 12/07/2016 * Copyright (c) 2016 Ascensio System SIA. All rights reserved. @@ -215,7 +214,7 @@ define([ var $target = $(e.currentTarget); if ($target && this.api) { - this.api.addShapeOnSheet($target.data('type')); + this.api.asc_addShapeOnSheet($target.data('type')); } SSE.getController('AddContainer').hideModal(); diff --git a/apps/spreadsheeteditor/mobile/app/view/DocumentHolder.js b/apps/spreadsheeteditor/mobile/app/view/DocumentHolder.js index 3d6e714bd..18ce43bdf 100644 --- a/apps/spreadsheeteditor/mobile/app/view/DocumentHolder.js +++ b/apps/spreadsheeteditor/mobile/app/view/DocumentHolder.js @@ -33,7 +33,6 @@ /** * DocumentHolder.js - * Document Editor * * Created by Maxim Kadushkin on 11/8/16 * Copyright (c) 2016 Ascensio System SIA. All rights reserved. diff --git a/apps/spreadsheeteditor/mobile/app/view/Editor.js b/apps/spreadsheeteditor/mobile/app/view/Editor.js index ad356718a..aff4a0204 100644 --- a/apps/spreadsheeteditor/mobile/app/view/Editor.js +++ b/apps/spreadsheeteditor/mobile/app/view/Editor.js @@ -33,7 +33,6 @@ /** * Editor.js - * Document Editor * * Created by Maxim Kadushkin on 11/15/16 * Copyright (c) 2016 Ascensio System SIA. All rights reserved. diff --git a/apps/spreadsheeteditor/mobile/app/view/Settings.js b/apps/spreadsheeteditor/mobile/app/view/Settings.js index d08613c2f..d09a09bb7 100644 --- a/apps/spreadsheeteditor/mobile/app/view/Settings.js +++ b/apps/spreadsheeteditor/mobile/app/view/Settings.js @@ -33,7 +33,6 @@ /** * Settings.js - * Document Editor * * Created by Maxim Kadushkin on 12/05/2016 * Copyright (c) 2016 Ascensio System SIA. All rights reserved. diff --git a/apps/spreadsheeteditor/mobile/app/view/add/AddOther.js b/apps/spreadsheeteditor/mobile/app/view/add/AddOther.js index e7afbf77f..f5e2034c3 100644 --- a/apps/spreadsheeteditor/mobile/app/view/add/AddOther.js +++ b/apps/spreadsheeteditor/mobile/app/view/add/AddOther.js @@ -33,7 +33,6 @@ /** * AddOther.js - * Document Editor * * Created by Kadushkin Maxim on 12/07/2016 * Copyright (c) 2016 Ascensio System SIA. All rights reserved. diff --git a/apps/spreadsheeteditor/mobile/app/view/add/AddShape.js b/apps/spreadsheeteditor/mobile/app/view/add/AddShape.js index af6eb353d..17fe4f806 100644 --- a/apps/spreadsheeteditor/mobile/app/view/add/AddShape.js +++ b/apps/spreadsheeteditor/mobile/app/view/add/AddShape.js @@ -33,7 +33,6 @@ /** * AddShape.js - * Document Editor * * Created by Maxim Kadushkin on 12/07/2016 * Copyright (c) 2016 Ascensio System SIA. All rights reserved.