[SSE] Hide options for export to pdf format (rev. 1aed6a07f5)

This commit is contained in:
Julia Radzhabova 2018-04-17 13:38:26 +03:00
parent b82753d1d8
commit 5a39e55c21
3 changed files with 9 additions and 9 deletions

View file

@ -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();

View file

@ -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);
},

View file

@ -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() {