Update js/rus/rus.js
Browse files- js/rus/rus.js +1 -15
js/rus/rus.js
CHANGED
@@ -340,11 +340,9 @@ editor.Components.addType('avp_kol_f_v1-settings-block', {
|
|
340 |
window.avp = props.avp;
|
341 |
window.grup = props.grup;
|
342 |
window.red_url = props.red_url;
|
343 |
-
window.pol_a = props.pol_a;
|
344 |
-
window.pol_b = props.pol_b;
|
345 |
window.new_w = props.new_w;
|
346 |
const initBlock = () => {
|
347 |
-
console.log('Empty block initialized with props:', { avp, grup, red_url,
|
348 |
};
|
349 |
const loadScript = (src, callback) => {
|
350 |
const script = document.createElement('script');
|
@@ -391,18 +389,6 @@ editor.Components.addType('avp_kol_f_v1-settings-block', {
|
|
391 |
label: 'RED_URL',
|
392 |
changeProp: true
|
393 |
},
|
394 |
-
{
|
395 |
-
type: 'text',
|
396 |
-
name: 'pol_a',
|
397 |
-
label: 'POL_A',
|
398 |
-
changeProp: true
|
399 |
-
},
|
400 |
-
{
|
401 |
-
type: 'text',
|
402 |
-
name: 'pol_b',
|
403 |
-
label: 'POL_B',
|
404 |
-
changeProp: true
|
405 |
-
},
|
406 |
{
|
407 |
type: 'checkbox', // Изменено на checkbox
|
408 |
name: 'new_w',
|
|
|
340 |
window.avp = props.avp;
|
341 |
window.grup = props.grup;
|
342 |
window.red_url = props.red_url;
|
|
|
|
|
343 |
window.new_w = props.new_w;
|
344 |
const initBlock = () => {
|
345 |
+
console.log('Empty block initialized with props:', { avp, grup, red_url, new_w });
|
346 |
};
|
347 |
const loadScript = (src, callback) => {
|
348 |
const script = document.createElement('script');
|
|
|
389 |
label: 'RED_URL',
|
390 |
changeProp: true
|
391 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
392 |
{
|
393 |
type: 'checkbox', // Изменено на checkbox
|
394 |
name: 'new_w',
|