[DE] Fix lock combine button
This commit is contained in:
parent
8ca27b4c36
commit
4d4f04f197
|
@ -1045,7 +1045,7 @@ define([
|
||||||
if (!item.asc_getView())
|
if (!item.asc_getView())
|
||||||
length++;
|
length++;
|
||||||
});
|
});
|
||||||
Common.Utils.lockControls(Common.enumLock.hasCoeditingUsers, length>1, {array: [this.view.btnCompare]});
|
Common.Utils.lockControls(Common.enumLock.hasCoeditingUsers, length>1, {array: [this.view.btnCompare, this.view.btnCombine]});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -310,7 +310,7 @@ define([
|
||||||
caption: this.txtCombine,
|
caption: this.txtCombine,
|
||||||
split: true,
|
split: true,
|
||||||
iconCls: 'toolbar__icon combine',
|
iconCls: 'toolbar__icon combine',
|
||||||
lock: [_set.hasCoeditingUsers, _set.previewReviewMode, _set.viewFormMode, _set.lostConnect],
|
lock: [_set.hasCoeditingUsers, _set.previewReviewMode, _set.viewFormMode, _set.lostConnect, _set.docLockView, _set.docLockForms, _set.docLockComments],
|
||||||
dataHint: '1',
|
dataHint: '1',
|
||||||
dataHintDirection: 'bottom',
|
dataHintDirection: 'bottom',
|
||||||
dataHintOffset: 'small'
|
dataHintOffset: 'small'
|
||||||
|
|
Loading…
Reference in a new issue