[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)
|
}, 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