mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 14:36:49 +08:00
[DE] Fix Bug 65592
This commit is contained in:
@ -84,6 +84,7 @@ define([
|
||||
}
|
||||
Common.NotificationCenter.on('protect:doclock', _.bind(this.onChangeProtectDocument, this));
|
||||
Common.NotificationCenter.on('forms:close-help', _.bind(this.closeHelpTip, this));
|
||||
Common.NotificationCenter.on('forms:show-help', _.bind(this.showHelpTip, this));
|
||||
return this;
|
||||
},
|
||||
|
||||
@ -466,6 +467,9 @@ define([
|
||||
var props = this._helpTips[step],
|
||||
target = props.target;
|
||||
|
||||
if (props.tip && props.tip.isVisible())
|
||||
return true;
|
||||
|
||||
if (typeof target === 'string')
|
||||
target = $(target);
|
||||
if (!(target && target.length && target.is(':visible')))
|
||||
|
||||
@ -649,6 +649,12 @@ define([
|
||||
this.lockedControls.push(this.cmbRoles);
|
||||
this.cmbRoles.on('selected', this.onRolesChanged.bind(this));
|
||||
|
||||
var showRolesTip = function() {
|
||||
Common.NotificationCenter.trigger('forms:show-help', 'roles');
|
||||
me.cmbRoles.off('show:before', showRolesTip);
|
||||
};
|
||||
me.cmbRoles.on('show:before', showRolesTip);
|
||||
|
||||
this.cmbFormat = new Common.UI.ComboBox({
|
||||
el: $markup.findById('#form-combo-format'),
|
||||
cls: 'input-group-nr',
|
||||
|
||||
Reference in New Issue
Block a user