[DE mobile] [PE mobile] [SSE mobile] Add disabled Collaboration

This commit is contained in:
Julia Svinareva 2019-06-05 17:15:24 +03:00
parent 739bfb5471
commit 5e840f12c1
6 changed files with 9 additions and 9 deletions

View file

@ -171,11 +171,11 @@ define([
}, },
activateControls: function() { 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() { activateViewControls: function() {
$('#toolbar-search, #document-back').removeClass('disabled'); $('#toolbar-search, #document-back, #toolbar-collaboration').removeClass('disabled');
}, },
deactivateEditControls: function() { deactivateEditControls: function() {

View file

@ -43,7 +43,7 @@
</a> </a>
<% } %> <% } %>
<% if (!phone) { %> <% if (!phone) { %>
<a href="#" id="toolbar-collaboration" class="link icon-only"> <a href="#" id="toolbar-collaboration" class="link icon-only disabled">
<i class="icon icon-collaboration"></i> <i class="icon icon-collaboration"></i>
</a> </a>
<% } %> <% } %>

View file

@ -175,11 +175,11 @@ define([
}, },
activateControls: function() { 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() { activateViewControls: function() {
$('#toolbar-preview, #toolbar-search, #document-back').removeClass('disabled'); $('#toolbar-preview, #toolbar-search, #document-back, #toolbar-collaboration').removeClass('disabled');
}, },
deactivateEditControls: function() { deactivateEditControls: function() {

View file

@ -46,7 +46,7 @@
</a> </a>
<% } %> <% } %>
<% if (!phone) { %> <% if (!phone) { %>
<a href="#" id="toolbar-collaboration" class="link icon-only"> <a href="#" id="toolbar-collaboration" class="link icon-only disabled">
<i class="icon icon-collaboration"></i> <i class="icon icon-collaboration"></i>
</a> </a>
<% } %> <% } %>

View file

@ -198,11 +198,11 @@ define([
}, },
activateControls: function() { 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() { activateViewControls: function() {
$('#toolbar-search, #document-back').removeClass('disabled'); $('#toolbar-search, #document-back, #toolbar-collaboration').removeClass('disabled');
}, },
deactivateEditControls: function() { deactivateEditControls: function() {

View file

@ -43,7 +43,7 @@
</a> </a>
<% } %> <% } %>
<% if (!phone) { %> <% if (!phone) { %>
<a href="#" id="toolbar-collaboration" class="link icon-only"> <a href="#" id="toolbar-collaboration" class="link icon-only disabled">
<i class="icon icon-collaboration"></i> <i class="icon icon-collaboration"></i>
</a> </a>
<% } %> <% } %>