mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-02-10 18:05:32 +08:00
Fix help tips
This commit is contained in:
@ -487,7 +487,7 @@ define([
|
||||
Common.NotificationCenter.trigger('collaboration:sharingdeny');
|
||||
Common.NotificationCenter.trigger('api:disconnect');
|
||||
!old_rights && Common.UI.TooltipManager.showTip({ step: 'changeRights', text: _.isEmpty(data.message) ? this.warnProcessRightsChange : data.message,
|
||||
target: '#toolbar', maxwidth: 600, showButton: false, automove: true, noHighlight: true, multiple: true,
|
||||
target: '#toolbar', maxwidth: 600, showButton: false, automove: true, noHighlight: true, noArrow: true, multiple: true,
|
||||
callback: function() {
|
||||
me._state.lostEditingRights = false;
|
||||
}});
|
||||
@ -1361,7 +1361,7 @@ define([
|
||||
Common.NotificationCenter.trigger('collaboration:sharingdeny');
|
||||
var me = this;
|
||||
Common.UI.TooltipManager.showTip({ step: 'userDrop', text: this.errorUserDrop,
|
||||
target: '#toolbar', maxwidth: 600, showButton: false, automove: true, noHighlight: true, multiple: true,
|
||||
target: '#toolbar', maxwidth: 600, showButton: false, automove: true, noHighlight: true, noArrow: true, multiple: true,
|
||||
callback: function() {
|
||||
me._state.lostEditingRights = false;
|
||||
}});
|
||||
@ -1715,7 +1715,7 @@ define([
|
||||
me.needToUpdateVersion = true;
|
||||
me.onLongActionEnd(Asc.c_oAscAsyncActionType['BlockInteraction'], LoadingDocument);
|
||||
Common.UI.TooltipManager.showTip({ step: 'updateVersionReload', text: this.errorUpdateVersion, header: this.titleUpdateVersion,
|
||||
target: '#toolbar', maxwidth: 'none', closable: false, automove: true, noHighlight: true,
|
||||
target: '#toolbar', maxwidth: 'none', closable: false, automove: true, noHighlight: true, noArrow: true,
|
||||
callback: function() {
|
||||
_.defer(function() {
|
||||
Common.Gateway.updateVersion();
|
||||
|
||||
@ -132,11 +132,11 @@ define([
|
||||
this.mode = mode;
|
||||
this.toolbar.applyLayout(mode);
|
||||
Common.UI.TooltipManager.addTips({
|
||||
'refreshFile' : {text: _main.textUpdateVersion, header: _main.textUpdating, target: '#toolbar', maxwidth: 'none', showButton: false, automove: true, noHighlight: true, multiple: true},
|
||||
'disconnect' : {text: _main.textConnectionLost, header: _main.textDisconnect, target: '#toolbar', maxwidth: 'none', showButton: false, automove: true, noHighlight: true, multiple: true},
|
||||
'updateVersion' : {text: _main.errorUpdateVersionOnDisconnect, header: _main.titleUpdateVersion, target: '#toolbar', maxwidth: 600, showButton: false, automove: true, noHighlight: true, multiple: true},
|
||||
'sessionIdle' : {text: _main.errorSessionIdle, target: '#toolbar', maxwidth: 600, showButton: false, automove: true, noHighlight: true, multiple: true},
|
||||
'sessionToken' : {text: _main.errorSessionToken, target: '#toolbar', maxwidth: 600, showButton: false, automove: true, noHighlight: true, multiple: true}
|
||||
'refreshFile' : {text: _main.textUpdateVersion, header: _main.textUpdating, target: '#toolbar', maxwidth: 'none', showButton: false, automove: true, noHighlight: true, noArrow: true, multiple: true},
|
||||
'disconnect' : {text: _main.textConnectionLost, header: _main.textDisconnect, target: '#toolbar', maxwidth: 'none', showButton: false, automove: true, noHighlight: true, noArrow: true, multiple: true},
|
||||
'updateVersion' : {text: _main.errorUpdateVersionOnDisconnect, header: _main.titleUpdateVersion, target: '#toolbar', maxwidth: 600, showButton: false, automove: true, noHighlight: true, noArrow: true, multiple: true},
|
||||
'sessionIdle' : {text: _main.errorSessionIdle, target: '#toolbar', maxwidth: 600, showButton: false, automove: true, noHighlight: true, noArrow: true, multiple: true},
|
||||
'sessionToken' : {text: _main.errorSessionToken, target: '#toolbar', maxwidth: 600, showButton: false, automove: true, noHighlight: true, noArrow: true, multiple: true}
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user