From 5e840f12c10c4c37a61d98871e6bab1df964c2b7 Mon Sep 17 00:00:00 2001 From: Julia Svinareva Date: Wed, 5 Jun 2019 17:15:24 +0300 Subject: [PATCH] [DE mobile] [PE mobile] [SSE mobile] Add disabled Collaboration --- apps/documenteditor/mobile/app/controller/Toolbar.js | 4 ++-- apps/documenteditor/mobile/app/template/Toolbar.template | 2 +- apps/presentationeditor/mobile/app/controller/Toolbar.js | 4 ++-- apps/presentationeditor/mobile/app/template/Toolbar.template | 2 +- apps/spreadsheeteditor/mobile/app/controller/Toolbar.js | 4 ++-- apps/spreadsheeteditor/mobile/app/template/Toolbar.template | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/documenteditor/mobile/app/controller/Toolbar.js b/apps/documenteditor/mobile/app/controller/Toolbar.js index 1bbb6344a..aaaaae553 100644 --- a/apps/documenteditor/mobile/app/controller/Toolbar.js +++ b/apps/documenteditor/mobile/app/controller/Toolbar.js @@ -171,11 +171,11 @@ define([ }, activateControls: function() { - $('#toolbar-edit, #toolbar-add, #toolbar-settings, #toolbar-search, #document-back, #toolbar-edit-document').removeClass('disabled'); + $('#toolbar-edit, #toolbar-add, #toolbar-settings, #toolbar-search, #document-back, #toolbar-edit-document, #toolbar-collaboration').removeClass('disabled'); }, activateViewControls: function() { - $('#toolbar-search, #document-back').removeClass('disabled'); + $('#toolbar-search, #document-back, #toolbar-collaboration').removeClass('disabled'); }, deactivateEditControls: function() { diff --git a/apps/documenteditor/mobile/app/template/Toolbar.template b/apps/documenteditor/mobile/app/template/Toolbar.template index 7cfc811a6..83f164f25 100644 --- a/apps/documenteditor/mobile/app/template/Toolbar.template +++ b/apps/documenteditor/mobile/app/template/Toolbar.template @@ -43,7 +43,7 @@ <% } %> <% if (!phone) { %> - + <% } %> diff --git a/apps/presentationeditor/mobile/app/controller/Toolbar.js b/apps/presentationeditor/mobile/app/controller/Toolbar.js index 9d09739b4..41cb5bc68 100644 --- a/apps/presentationeditor/mobile/app/controller/Toolbar.js +++ b/apps/presentationeditor/mobile/app/controller/Toolbar.js @@ -175,11 +175,11 @@ define([ }, activateControls: function() { - $('#toolbar-preview, #toolbar-settings, #toolbar-search, #document-back, #toolbar-edit-document').removeClass('disabled'); + $('#toolbar-preview, #toolbar-settings, #toolbar-search, #document-back, #toolbar-edit-document, #toolbar-collaboration').removeClass('disabled'); }, activateViewControls: function() { - $('#toolbar-preview, #toolbar-search, #document-back').removeClass('disabled'); + $('#toolbar-preview, #toolbar-search, #document-back, #toolbar-collaboration').removeClass('disabled'); }, deactivateEditControls: function() { diff --git a/apps/presentationeditor/mobile/app/template/Toolbar.template b/apps/presentationeditor/mobile/app/template/Toolbar.template index 142073fe2..74cefedf1 100644 --- a/apps/presentationeditor/mobile/app/template/Toolbar.template +++ b/apps/presentationeditor/mobile/app/template/Toolbar.template @@ -46,7 +46,7 @@ <% } %> <% if (!phone) { %> - + <% } %> diff --git a/apps/spreadsheeteditor/mobile/app/controller/Toolbar.js b/apps/spreadsheeteditor/mobile/app/controller/Toolbar.js index 60bcad961..162380c2c 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Toolbar.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Toolbar.js @@ -198,11 +198,11 @@ define([ }, activateControls: function() { - $('#toolbar-settings, #toolbar-search, #document-back, #toolbar-edit-document').removeClass('disabled'); + $('#toolbar-settings, #toolbar-search, #document-back, #toolbar-edit-document, #toolbar-collaboration').removeClass('disabled'); }, activateViewControls: function() { - $('#toolbar-search, #document-back').removeClass('disabled'); + $('#toolbar-search, #document-back, #toolbar-collaboration').removeClass('disabled'); }, deactivateEditControls: function() { diff --git a/apps/spreadsheeteditor/mobile/app/template/Toolbar.template b/apps/spreadsheeteditor/mobile/app/template/Toolbar.template index 7cfc811a6..83f164f25 100644 --- a/apps/spreadsheeteditor/mobile/app/template/Toolbar.template +++ b/apps/spreadsheeteditor/mobile/app/template/Toolbar.template @@ -43,7 +43,7 @@ <% } %> <% if (!phone) { %> - + <% } %>