Conditions | 1 |
Paths | 1 |
Total Lines | 24 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | define(function(require) { |
||
2 | 'use strict'; |
||
3 | |||
4 | var VariantsCollectionView; |
||
5 | var FieldsGroupsCollectionView = require('oroform/js/app/views/fields-groups-collection-view'); |
||
6 | |||
7 | VariantsCollectionView = FieldsGroupsCollectionView.extend({ |
||
8 | PRIMARY_FILED_SELECTOR: '[name$="[default]"]', |
||
9 | |||
10 | events: { |
||
11 | 'click [name$="[default]"]': 'onPrimaryClick', |
||
12 | 'change >*': 'onChangeInFiledGroup' |
||
13 | }, |
||
14 | |||
15 | /** |
||
16 | * @inheritDoc |
||
17 | */ |
||
18 | constructor: function VariantsCollectionView() { |
||
19 | VariantsCollectionView.__super__.constructor.apply(this, arguments); |
||
20 | } |
||
21 | }); |
||
22 | |||
23 | return VariantsCollectionView; |
||
24 | }); |
||
25 |