From 6779514185243ba801766648b10fe1e2e8a81df9 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 10 May 2016 18:08:07 +0300 Subject: [PATCH] =?UTF-8?q?[PE]=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=20=D0=BC=D0=B5=D1=81=D1=82=D0=BE=20=D0=B2=D1=8B?= =?UTF-8?q?=D0=B7=D0=BE=D0=B2=D0=B0=20onApiPageSize.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/presentationeditor/main/app/controller/Toolbar.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/presentationeditor/main/app/controller/Toolbar.js b/apps/presentationeditor/main/app/controller/Toolbar.js index 0288600ac..2e6714c34 100644 --- a/apps/presentationeditor/main/app/controller/Toolbar.js +++ b/apps/presentationeditor/main/app/controller/Toolbar.js @@ -287,8 +287,6 @@ define([ this.api.asc_registerCallback('asc_onCountPages', _.bind(this.onApiCountPages, this)); - this.onApiPageSize(this.api.get_PresentationWidth(), this.api.get_PresentationHeight()); - this.onSetupCopyStyleButton(); }, @@ -1757,6 +1755,7 @@ define([ }, activateControls: function() { + this.onApiPageSize(this.api.get_PresentationWidth(), this.api.get_PresentationHeight()); this.toolbar.lockToolbar(PE.enumLock.disableOnStart, false, {array: this.toolbar.slideOnlyControls.concat(this.toolbar.shapeControls)}); this._state.activated = true; },