[DE] Fix margins dialog

This commit is contained in:
Julia Svinareva 2019-12-18 11:08:58 +03:00
parent 8aef0c2c75
commit a77422602d
2 changed files with 2 additions and 0 deletions

View file

@ -1575,6 +1575,7 @@ define([
var win, props,
me = this;
win = new DE.Views.PageMarginsDialog({
api: me.api,
handler: function(dlg, result) {
if (result == 'ok') {
props = dlg.getSettings();

View file

@ -110,6 +110,7 @@ define([
this.spinners = [];
this._noApply = false;
this.maxMarginsW = this.maxMarginsH = 0;
this.api = this.options.api;
Common.UI.Window.prototype.initialize.call(this, this.options);
},