Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/cvetdv.ru/bitrix/modules/yandex.market/install/js/field/fieldset/ |
Upload File : |
(function(BX, window) { var Reference = BX.namespace('YandexMarket.Field.Reference'); var Fieldset = BX.namespace('YandexMarket.Field.Fieldset'); var constructor = Fieldset.Row = Reference.Complex.extend({ defaults: { elementDefault: '.js-fieldset', elementNamespace: null, inputElement: '.js-fieldset-row__input', childElement: '.js-fieldset-row__child', lang: {}, langPrefix: 'YANDEX_MARKET_FIELD_FIELDSET_' }, setOptions: function(options) { this.callParent('setOptions', [options], constructor); if ( this.options.elementNamespace != null && this.options.elementNamespace !== this.options.elementDefault ) { this.overrideElementOptions( this.options.elementDefault, this.options.elementNamespace ); } }, overrideElementOptions: function(from, to) { var key; for (key in this.options) { if (!this.options.hasOwnProperty(key)) { continue; } if (key.indexOf('Element') === -1) { continue; } if (this.options[key] == null) { continue; } this.options[key] = this.options[key].replace(from, to); } }, }, { dataName: 'FieldFieldsetRow', pluginName: 'YandexMarket.Field.Fieldset.Row' }); })(BX, window);