Commit 67795141 authored by Julia Radzhabova's avatar Julia Radzhabova

[PE] изменено место вызова onApiPageSize.

parent 1fe057d4
...@@ -287,8 +287,6 @@ define([ ...@@ -287,8 +287,6 @@ define([
this.api.asc_registerCallback('asc_onCountPages', _.bind(this.onApiCountPages, this)); this.api.asc_registerCallback('asc_onCountPages', _.bind(this.onApiCountPages, this));
this.onApiPageSize(this.api.get_PresentationWidth(), this.api.get_PresentationHeight());
this.onSetupCopyStyleButton(); this.onSetupCopyStyleButton();
}, },
...@@ -1757,6 +1755,7 @@ define([ ...@@ -1757,6 +1755,7 @@ define([
}, },
activateControls: function() { 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.toolbar.lockToolbar(PE.enumLock.disableOnStart, false, {array: this.toolbar.slideOnlyControls.concat(this.toolbar.shapeControls)});
this._state.activated = true; this._state.activated = true;
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment