mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Change parameter in startFilling api method (true - if need to disconnect)
This commit is contained in:
@ -1948,11 +1948,8 @@ define([
|
||||
(!inViewMode || force) && Common.NotificationCenter.trigger('doc:mode-changed', mode);
|
||||
},
|
||||
|
||||
onStartFilling: function(data) {
|
||||
if (data && data.disconnect) {
|
||||
this.api.asc_DisconnectEveryone();
|
||||
} else
|
||||
this.onDisconnectEveryone();
|
||||
onStartFilling: function(disconnect) {
|
||||
disconnect ? this.api.asc_DisconnectEveryone() : this.onDisconnectEveryone();
|
||||
},
|
||||
|
||||
onDisconnectEveryone: function() {
|
||||
|
||||
Reference in New Issue
Block a user