[DE] Fix Bug 65592

This commit is contained in:
Julia Radzhabova
2023-12-19 21:45:28 +03:00
parent 1ee33dcca4
commit 926dfcdecb
2 changed files with 10 additions and 0 deletions

View File

@ -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')))

View File

@ -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',