[SSE] Fix Bug 33512.
This commit is contained in:
parent
b3ceec763e
commit
0c9a6d4ff1
|
@ -1624,6 +1624,8 @@ define([
|
||||||
this._state.fontsize = str_size;
|
this._state.fontsize = str_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
toolbar.lockToolbar(SSE.enumLock.cantHyperlink, (selectionType == Asc.c_oAscSelectionType.RangeShapeText) && (this.api.asc_canAddShapeHyperlink()===false), { array: [toolbar.btnInsertHyperlink]});
|
||||||
|
|
||||||
if (editOptionsDisabled) return;
|
if (editOptionsDisabled) return;
|
||||||
|
|
||||||
/* read font params */
|
/* read font params */
|
||||||
|
|
|
@ -76,7 +76,8 @@ define([
|
||||||
ruleDelFilter: 'rule-clear-filter',
|
ruleDelFilter: 'rule-clear-filter',
|
||||||
menuFileOpen: 'menu-file-open',
|
menuFileOpen: 'menu-file-open',
|
||||||
cantPrint: 'cant-print',
|
cantPrint: 'cant-print',
|
||||||
multiselect: 'is-multiselect'
|
multiselect: 'is-multiselect',
|
||||||
|
cantHyperlink: 'cant-hyperlink'
|
||||||
};
|
};
|
||||||
|
|
||||||
SSE.Views.Toolbar = Backbone.View.extend(_.extend({
|
SSE.Views.Toolbar = Backbone.View.extend(_.extend({
|
||||||
|
@ -496,7 +497,7 @@ define([
|
||||||
id : 'id-toolbar-btn-inserthyperlink',
|
id : 'id-toolbar-btn-inserthyperlink',
|
||||||
cls : 'btn-toolbar',
|
cls : 'btn-toolbar',
|
||||||
iconCls : 'btn-inserthyperlink',
|
iconCls : 'btn-inserthyperlink',
|
||||||
lock : [_set.editCell, _set.selChart, _set.selChartText, _set.selImage, _set.selShape, _set.multiselect, _set.lostConnect, _set.coAuth]
|
lock : [_set.editCell, _set.selChart, _set.selChartText, _set.selImage, _set.selShape, _set.cantHyperlink, _set.multiselect, _set.lostConnect, _set.coAuth]
|
||||||
});
|
});
|
||||||
|
|
||||||
me.btnInsertChart = new Common.UI.Button({
|
me.btnInsertChart = new Common.UI.Button({
|
||||||
|
|
Loading…
Reference in a new issue