[SSE] Fix multiple press Ctrl+P
This commit is contained in:
parent
16e0217007
commit
990064c7ed
|
@ -222,6 +222,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
openPrintSettings: function(type, cmp, format, asUrl) {
|
openPrintSettings: function(type, cmp, format, asUrl) {
|
||||||
|
if (this.printSettingsDlg) return;
|
||||||
if (this.api) {
|
if (this.api) {
|
||||||
this.asUrl = asUrl;
|
this.asUrl = asUrl;
|
||||||
this.downloadFormat = format;
|
this.downloadFormat = format;
|
||||||
|
@ -261,6 +262,7 @@ define([
|
||||||
return true;
|
return true;
|
||||||
} else
|
} else
|
||||||
Common.NotificationCenter.trigger('edit:complete', view);
|
Common.NotificationCenter.trigger('edit:complete', view);
|
||||||
|
this.printSettingsDlg = null;
|
||||||
},
|
},
|
||||||
|
|
||||||
querySavePrintSettings: function() {
|
querySavePrintSettings: function() {
|
||||||
|
|
Loading…
Reference in a new issue