Revert "[SSE] Hide options for export to pdf format (rev. 1aed6a07f5
)"
This reverts commit 5a39e55c21
.
This commit is contained in:
parent
4dba73157a
commit
469c841dab
|
@ -262,9 +262,9 @@ define([
|
||||||
}
|
}
|
||||||
}, this)
|
}, this)
|
||||||
});
|
});
|
||||||
// } else if (format == Asc.c_oAscFileType.PDF) {
|
} else if (format == Asc.c_oAscFileType.PDF) {
|
||||||
// menu.hide();
|
menu.hide();
|
||||||
// Common.NotificationCenter.trigger('download:settings', this.leftMenu);
|
Common.NotificationCenter.trigger('download:settings', this.leftMenu);
|
||||||
} else {
|
} else {
|
||||||
this.api.asc_DownloadAs(format);
|
this.api.asc_DownloadAs(format);
|
||||||
menu.hide();
|
menu.hide();
|
||||||
|
|
|
@ -412,9 +412,9 @@ define([
|
||||||
|
|
||||||
if ( !_format || _supported.indexOf(_format) < 0 )
|
if ( !_format || _supported.indexOf(_format) < 0 )
|
||||||
_format = Asc.c_oAscFileType.XLSX;
|
_format = Asc.c_oAscFileType.XLSX;
|
||||||
// if (_format == Asc.c_oAscFileType.PDF)
|
if (_format == Asc.c_oAscFileType.PDF)
|
||||||
// Common.NotificationCenter.trigger('download:settings', this, true);
|
Common.NotificationCenter.trigger('download:settings', this, true);
|
||||||
// else
|
else
|
||||||
this.api.asc_DownloadAs(_format, true);
|
this.api.asc_DownloadAs(_format, true);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -107,9 +107,9 @@ define([
|
||||||
if ( !_format || _supported.indexOf(_format) < 0 )
|
if ( !_format || _supported.indexOf(_format) < 0 )
|
||||||
_format = Asc.c_oAscFileType.PDF;
|
_format = Asc.c_oAscFileType.PDF;
|
||||||
|
|
||||||
// if (_format == Asc.c_oAscFileType.PDF)
|
if (_format == Asc.c_oAscFileType.PDF)
|
||||||
// Common.NotificationCenter.trigger('download:settings', this.toolbar);
|
Common.NotificationCenter.trigger('download:settings', this.toolbar);
|
||||||
// else
|
else
|
||||||
_main.api.asc_DownloadAs(_format);
|
_main.api.asc_DownloadAs(_format);
|
||||||
},
|
},
|
||||||
'go:editor': function() {
|
'go:editor': function() {
|
||||||
|
|
Loading…
Reference in a new issue