[SSE] Fix Bug 38033, Bug 38894
This commit is contained in:
parent
d5c7220c9c
commit
5481ef7de4
|
@ -256,6 +256,19 @@ define([
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (!config.isEdit) {
|
||||||
|
var menu = me.header.btnOptions.menu;
|
||||||
|
me.header.mnuitemHideHeadings.hide();
|
||||||
|
me.header.mnuitemHideGridlines.hide();
|
||||||
|
me.header.mnuitemFreezePanes.hide();
|
||||||
|
menu.items[5].hide();
|
||||||
|
menu.items[7].hide();
|
||||||
|
if (!config.canComments) { // show advanced settings for editing and commenting mode
|
||||||
|
mnuitemAdvSettings.hide();
|
||||||
|
menu.items[9].hide();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var _on_btn_zoom = function (btn) {
|
var _on_btn_zoom = function (btn) {
|
||||||
if ( btn == 'up' ) {
|
if ( btn == 'up' ) {
|
||||||
var _f = Math.floor(this.api.asc_getZoom() * 10)/10;
|
var _f = Math.floor(this.api.asc_getZoom() * 10)/10;
|
||||||
|
|
Loading…
Reference in a new issue