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