[DE] Fix margins dialog
This commit is contained in:
parent
8aef0c2c75
commit
a77422602d
|
@ -1575,6 +1575,7 @@ define([
|
||||||
var win, props,
|
var win, props,
|
||||||
me = this;
|
me = this;
|
||||||
win = new DE.Views.PageMarginsDialog({
|
win = new DE.Views.PageMarginsDialog({
|
||||||
|
api: me.api,
|
||||||
handler: function(dlg, result) {
|
handler: function(dlg, result) {
|
||||||
if (result == 'ok') {
|
if (result == 'ok') {
|
||||||
props = dlg.getSettings();
|
props = dlg.getSettings();
|
||||||
|
|
|
@ -110,6 +110,7 @@ define([
|
||||||
this.spinners = [];
|
this.spinners = [];
|
||||||
this._noApply = false;
|
this._noApply = false;
|
||||||
this.maxMarginsW = this.maxMarginsH = 0;
|
this.maxMarginsW = this.maxMarginsH = 0;
|
||||||
|
this.api = this.options.api;
|
||||||
|
|
||||||
Common.UI.Window.prototype.initialize.call(this, this.options);
|
Common.UI.Window.prototype.initialize.call(this, this.options);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue