[SSE] Fix print from header
This commit is contained in:
parent
0070450272
commit
f92715145e
|
@ -61,6 +61,8 @@ define([
|
||||||
'changerange': _.bind(this.onChangeRange,this)
|
'changerange': _.bind(this.onChangeRange,this)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Common.NotificationCenter.on('print', _.bind(this.openPrintSettings, this, 'print'));
|
||||||
|
Common.NotificationCenter.on('download:settings', _.bind(this.openPrintSettings, this, 'download'));
|
||||||
},
|
},
|
||||||
|
|
||||||
onLaunch: function() {
|
onLaunch: function() {
|
||||||
|
@ -70,8 +72,6 @@ define([
|
||||||
onAfterRender: function(view) {
|
onAfterRender: function(view) {
|
||||||
this.printSettings.cmbSheet.on('selected', _.bind(this.comboSheetsChange, this, this.printSettings));
|
this.printSettings.cmbSheet.on('selected', _.bind(this.comboSheetsChange, this, this.printSettings));
|
||||||
this.printSettings.btnOk.on('click', _.bind(this.querySavePrintSettings, this));
|
this.printSettings.btnOk.on('click', _.bind(this.querySavePrintSettings, this));
|
||||||
Common.NotificationCenter.on('print', _.bind(this.openPrintSettings, this, 'print'));
|
|
||||||
Common.NotificationCenter.on('download:settings', _.bind(this.openPrintSettings, this, 'download'));
|
|
||||||
this.registerControlEvents(this.printSettings);
|
this.registerControlEvents(this.printSettings);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue