Disable users button in the header when file menu is opened
This commit is contained in:
parent
244986f25e
commit
76beef570a
|
@ -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) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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){
|
||||||
|
|
Loading…
Reference in a new issue