mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-23 19:35:27 +08:00
[main] hide label NEW in settings
This commit is contained in:
@ -448,7 +448,7 @@ define([], function () {
|
||||
'<div><div id="fms-cmb-macros"></div>',
|
||||
'</tr>',
|
||||
'<tr>',
|
||||
'<td><label><%= scope.strKeyboardShortcuts %><span class="new-hint"><%= Common.UI.SynchronizeTip.prototype.textNew.toUpperCase() %></span></label></td>',
|
||||
'<td><label><%= scope.strKeyboardShortcuts %></label></td>',
|
||||
'<td colspan="2"><button type="button" class="btn btn-text-default" id="fms-btn-keyboard-shortcuts" style="width:auto; display: inline-block;padding-right: 10px;padding-left: 10px;" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><%= scope.txtCustomize %></button></div></td>',
|
||||
'</tr>',
|
||||
'<tr>',
|
||||
@ -1081,8 +1081,6 @@ define([], function () {
|
||||
value = Common.Utils.InternalSettings.get("de-settings-numeral");
|
||||
item = this.cmbNumeral.store.findWhere({value: value});
|
||||
this.cmbNumeral.setValue(item ? item.get('value') : Asc.c_oNumeralType.arabic);
|
||||
|
||||
Common.localStorage.getItem('help-tip-customize-shortcuts') && $('.new-hint', this.el).addClass('hidden');
|
||||
},
|
||||
|
||||
applySettings: function() {
|
||||
|
||||
@ -389,7 +389,7 @@ define([], function () {
|
||||
'<td><span id="fms-cmb-font-render"></span></td>',
|
||||
'</tr>',
|
||||
'<tr>',
|
||||
'<td><label><%= scope.strKeyboardShortcuts %><span class="new-hint"><%= Common.UI.SynchronizeTip.prototype.textNew.toUpperCase() %></span></label></td>',
|
||||
'<td><label><%= scope.strKeyboardShortcuts %></label></td>',
|
||||
'<td colspan="2"><button type="button" class="btn btn-text-default" id="fms-btn-keyboard-shortcuts" style="width:auto; display: inline-block;padding-right: 10px;padding-left: 10px;" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><%= scope.txtCustomize %></button></div></td>',
|
||||
'</tr>',
|
||||
'<tr class ="divider-group"></tr>',
|
||||
@ -854,8 +854,6 @@ define([], function () {
|
||||
value = Common.Utils.InternalSettings.get("settings-tab-style");
|
||||
item = this.cmbTabStyle.store.findWhere({value: value});
|
||||
this.cmbTabStyle.setValue(item ? item.get('value') : 'fill');
|
||||
|
||||
Common.localStorage.getItem('help-tip-customize-shortcuts') && $('.new-hint', this.el).addClass('hidden');
|
||||
},
|
||||
|
||||
applySettings: function() {
|
||||
|
||||
@ -365,7 +365,7 @@ define([], function () {
|
||||
'<td><div><div id="fms-cmb-macros"></div></div></td>',
|
||||
'</tr>',
|
||||
'<tr>',
|
||||
'<td><label><%= scope.strKeyboardShortcuts %><span class="new-hint"><%= Common.UI.SynchronizeTip.prototype.textNew.toUpperCase() %></span></label></td>',
|
||||
'<td><label><%= scope.strKeyboardShortcuts %></label></td>',
|
||||
'<td colspan="2"><button type="button" class="btn btn-text-default" id="fms-btn-keyboard-shortcuts" style="width:auto; display: inline-block;padding-right: 10px;padding-left: 10px;" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><%= scope.txtCustomize %></button></div></td>',
|
||||
'</tr>',
|
||||
'<tr class ="divider-group"></tr>',
|
||||
@ -826,8 +826,6 @@ define([], function () {
|
||||
value = Common.Utils.InternalSettings.get("settings-tab-style");
|
||||
item = this.cmbTabStyle.store.findWhere({value: value});
|
||||
this.cmbTabStyle.setValue(item ? item.get('value') : 'fill');
|
||||
|
||||
Common.localStorage.getItem('help-tip-customize-shortcuts') && $('.new-hint', this.el).addClass('hidden');
|
||||
},
|
||||
|
||||
applySettings: function() {
|
||||
|
||||
@ -375,7 +375,7 @@ define([], function () {
|
||||
'</td>',
|
||||
'</tr>',
|
||||
'<tr>',
|
||||
'<td><label><%= scope.strKeyboardShortcuts %><span class="new-hint"><%= Common.UI.SynchronizeTip.prototype.textNew.toUpperCase() %></span></label></td>',
|
||||
'<td><label><%= scope.strKeyboardShortcuts %></label></td>',
|
||||
'<td colspan="2"><button type="button" class="btn btn-text-default" id="fms-btn-keyboard-shortcuts" style="width:auto; display: inline-block;padding-right: 10px;padding-left: 10px;" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><%= scope.txtCustomize %></button></div></td>',
|
||||
'</tr>',
|
||||
'<tr class ="divider-group"></tr>',
|
||||
@ -1243,8 +1243,6 @@ define([], function () {
|
||||
this.chHScroll.setValue(this.api.asc_GetShowHorizontalScroll());
|
||||
this.chVScroll.setValue(this.api.asc_GetShowVerticalScroll());
|
||||
}
|
||||
|
||||
Common.localStorage.getItem('help-tip-customize-shortcuts') && $('.new-hint', this.el).addClass('hidden');
|
||||
},
|
||||
|
||||
isValid: function() {
|
||||
|
||||
@ -582,8 +582,6 @@ define([], function () {
|
||||
value = Common.Utils.InternalSettings.get("settings-tab-style");
|
||||
item = this.cmbTabStyle.store.findWhere({value: value});
|
||||
this.cmbTabStyle.setValue(item ? item.get('value') : 'fill');
|
||||
|
||||
// Common.localStorage.getItem('help-tip-customize-shortcuts') && $('.new-hint', this.el).addClass('hidden');
|
||||
},
|
||||
|
||||
applySettings: function() {
|
||||
|
||||
Reference in New Issue
Block a user