[PE] Strict co-editing: lock themes control when other users changed theme.
This commit is contained in:
parent
2c5ec679e6
commit
fe3a83fd0f
|
@ -697,11 +697,11 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onApiLockDocumentTheme: function() {
|
onApiLockDocumentTheme: function() {
|
||||||
this.toolbar.lockToolbar(PE.enumLock.themeLock, true, {array: [this.toolbar.btnColorSchemas]});
|
this.toolbar.lockToolbar(PE.enumLock.themeLock, true, {array: [this.toolbar.btnColorSchemas, this.toolbar.listTheme]});
|
||||||
},
|
},
|
||||||
|
|
||||||
onApiUnLockDocumentTheme: function() {
|
onApiUnLockDocumentTheme: function() {
|
||||||
this.toolbar.lockToolbar(PE.enumLock.themeLock, false, {array: [this.toolbar.btnColorSchemas]});
|
this.toolbar.lockToolbar(PE.enumLock.themeLock, false, {array: [this.toolbar.btnColorSchemas, this.toolbar.listTheme]});
|
||||||
},
|
},
|
||||||
|
|
||||||
onApiCoAuthoringDisconnect: function(disableDownload) {
|
onApiCoAuthoringDisconnect: function(disableDownload) {
|
||||||
|
|
|
@ -855,7 +855,7 @@ define([
|
||||||
enableKeyEvents: true,
|
enableKeyEvents: true,
|
||||||
itemHeight : 38,
|
itemHeight : 38,
|
||||||
hint: this.tipSlideTheme,
|
hint: this.tipSlideTheme,
|
||||||
lock: [_set.lostConnect, _set.noSlides],
|
lock: [_set.themeLock, _set.lostConnect, _set.noSlides],
|
||||||
beforeOpenHandler: function(e) {
|
beforeOpenHandler: function(e) {
|
||||||
var cmp = this,
|
var cmp = this,
|
||||||
menu = cmp.openButton.menu,
|
menu = cmp.openButton.menu,
|
||||||
|
|
Loading…
Reference in a new issue