Disable users button in the header when file menu is opened

This commit is contained in:
Julia Radzhabova 2018-07-24 15:34:02 +03:00
parent 244986f25e
commit 76beef570a
3 changed files with 3 additions and 0 deletions

View file

@ -339,6 +339,7 @@ define([
me.header.lockHeaderBtns( 'undo', _need_disable ); me.header.lockHeaderBtns( 'undo', _need_disable );
me.header.lockHeaderBtns( 'redo', _need_disable ); me.header.lockHeaderBtns( 'redo', _need_disable );
me.header.lockHeaderBtns( 'opts', _need_disable ); me.header.lockHeaderBtns( 'opts', _need_disable );
me.header.lockHeaderBtns( 'users', _need_disable );
}, },
onApiZoomChange: function(percent, type) { onApiZoomChange: function(percent, type) {

View file

@ -378,6 +378,7 @@ define([
me.header.lockHeaderBtns( 'undo', _need_disable ); me.header.lockHeaderBtns( 'undo', _need_disable );
me.header.lockHeaderBtns( 'redo', _need_disable ); me.header.lockHeaderBtns( 'redo', _need_disable );
me.header.lockHeaderBtns( 'opts', _need_disable ); me.header.lockHeaderBtns( 'opts', _need_disable );
me.header.lockHeaderBtns( 'users', _need_disable );
}, },
onApiZoomChange: function(percent, type) { onApiZoomChange: function(percent, type) {

View file

@ -370,6 +370,7 @@ define([
me.header.lockHeaderBtns( 'undo', _need_disable ); me.header.lockHeaderBtns( 'undo', _need_disable );
me.header.lockHeaderBtns( 'redo', _need_disable ); me.header.lockHeaderBtns( 'redo', _need_disable );
me.header.lockHeaderBtns( 'opts', _need_disable ); me.header.lockHeaderBtns( 'opts', _need_disable );
me.header.lockHeaderBtns( 'users', _need_disable );
}, },
onApiZoomChange: function(zf, type){ onApiZoomChange: function(zf, type){