diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 155296c22..0ba21dfb3 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -949,7 +949,7 @@ define([ } if (me.needToUpdateVersion) - Common.NotificationCenter.trigger('api:disconnect', true); + Common.NotificationCenter.trigger('api:disconnect'); var timer_sl = setInterval(function(){ if (window.styles_loaded) { clearInterval(timer_sl); @@ -968,7 +968,7 @@ define([ me.updateThemeColors(); toolbarController.activateControls(); if (me.needToUpdateVersion) - toolbarController.onApiCoAuthoringDisconnect(true); + toolbarController.onApiCoAuthoringDisconnect(); me.api.UpdateInterfaceState(); me.fillTextArt(me.api.asc_getTextArtPreviews()); @@ -1020,7 +1020,7 @@ define([ } this.disableEditing(true); - Common.NotificationCenter.trigger('api:disconnect', true); + Common.NotificationCenter.trigger('api:disconnect'); var value = Common.localStorage.getItem("de-license-warning"); value = (value!==null) ? parseInt(value) : 0; diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index c730ccb90..5304e8ef5 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -712,7 +712,7 @@ define([ } if (me.needToUpdateVersion) - Common.NotificationCenter.trigger('api:disconnect', true); + Common.NotificationCenter.trigger('api:disconnect'); var timer_sl = setInterval(function(){ if (window.styles_loaded) { clearInterval(timer_sl); @@ -734,7 +734,7 @@ define([ me.fillTextArt(me.api.asc_getTextArtPreviews()); toolbarController.activateControls(); if (me.needToUpdateVersion) - toolbarController.onApiCoAuthoringDisconnect(true); + toolbarController.onApiCoAuthoringDisconnect(); me.api.UpdateInterfaceState(); Common.NotificationCenter.trigger('document:ready', 'main'); @@ -784,7 +784,7 @@ define([ } this.disableEditing(true); - Common.NotificationCenter.trigger('api:disconnect', true); + Common.NotificationCenter.trigger('api:disconnect'); var value = Common.localStorage.getItem("pe-license-warning"); value = (value!==null) ? parseInt(value) : 0; diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 32a03d562..1baebb3c2 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -710,8 +710,8 @@ define([ } if (me.needToUpdateVersion) { - Common.NotificationCenter.trigger('api:disconnect', true); - toolbarController.onApiCoAuthoringDisconnect(true); + Common.NotificationCenter.trigger('api:disconnect'); + toolbarController.onApiCoAuthoringDisconnect(); } var timer_sl = setInterval(function(){ @@ -746,7 +746,7 @@ define([ formulasDlgController.setMode(me.appOptions).setApi(me.api); } if (me.needToUpdateVersion) - toolbarController.onApiCoAuthoringDisconnect(true); + toolbarController.onApiCoAuthoringDisconnect(); Common.NotificationCenter.trigger('document:ready', 'main'); me.applyLicense(); @@ -811,7 +811,7 @@ define([ } this.disableEditing(true); - Common.NotificationCenter.trigger('api:disconnect', true); + Common.NotificationCenter.trigger('api:disconnect'); var value = Common.localStorage.getItem("sse-license-warning"); value = (value!==null) ? parseInt(value) : 0;