DmitrMakeev commited on
Commit
c300858
·
verified ·
1 Parent(s): 18390b0

Update js/rus/rus.js

Browse files
Files changed (1) hide show
  1. js/rus/rus.js +8 -1
js/rus/rus.js CHANGED
@@ -337,6 +337,7 @@ editor.Components.addType('avp_kol_f_v1-settings-block', {
337
  defaults: {
338
  content: '<div id="set_kol_f_v1"></div>',
339
  script: function(props) {
 
340
  window.avp = props.avp;
341
  window.grup = props.grup;
342
  window.red_url = props.red_url;
@@ -370,8 +371,14 @@ editor.Components.addType('avp_kol_f_v1-settings-block', {
370
  console.log('Custom script loaded!');
371
  });
372
  },
373
- 'script-props': ['avp', 'grup', 'red_url', 'pol_a', 'pol_b', 'new_w'],
374
  traits: [
 
 
 
 
 
 
375
  {
376
  type: 'text',
377
  name: 'avp',
 
337
  defaults: {
338
  content: '<div id="set_kol_f_v1"></div>',
339
  script: function(props) {
340
+ window.avp = props.sectors;
341
  window.avp = props.avp;
342
  window.grup = props.grup;
343
  window.red_url = props.red_url;
 
371
  console.log('Custom script loaded!');
372
  });
373
  },
374
+ 'script-props': ['sectors', 'avp', 'grup', 'red_url', 'pol_a', 'pol_b', 'new_w'],
375
  traits: [
376
+ {
377
+ type: 'text',
378
+ name: 'sectors',
379
+ label: 'SEC_SET',
380
+ changeProp: true
381
+ },
382
  {
383
  type: 'text',
384
  name: 'avp',