File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/js/bizproc/automation/src/selectors/user-selector.js
Back
import { Type } from 'main.core'; import { InlineSelector } from './inline-selector'; export class UserSelector extends InlineSelector { renderTo(targetInput: Element) { this.targetInput = targetInput; this.menuButton = targetInput; this.fieldProperty = JSON.parse(targetInput.getAttribute('data-property')); if (!this.fieldProperty) { this.context.useSwitcherMenu = false; } const additionalUserFields = this.context.get('additionalUserFields'); this.userSelector = BX.Bizproc.UserSelector.decorateNode( targetInput, { additionalFields: Type.isArray(additionalUserFields) ? additionalUserFields : [], }, ); } destroy() { super.destroy(); if (this.userSelector) { this.userSelector.destroy(); this.userSelector = null; } } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.23 |
proxy
|
phpinfo
|
Settings