Update js/rus/rus.js
Browse files- js/rus/rus.js +2 -9
js/rus/rus.js
CHANGED
@@ -1125,10 +1125,9 @@ editor.Components.addType('senler_btn_ud_v1-settings-block', {
|
|
1125 |
window.vk_grup = props.vk_grup;
|
1126 |
window.s_grup = props.s_grup;
|
1127 |
window.on_url = props.on_url;
|
1128 |
-
window.off_url = props.off_url;
|
1129 |
window.red_on = props.red_on;
|
1130 |
const initBlock = () => {
|
1131 |
-
console.log('Empty block initialized with props:', { w_url, vk_grup, s_grup, on_url,
|
1132 |
};
|
1133 |
const loadScript = (src, callback) => {
|
1134 |
const script = document.createElement('script');
|
@@ -1178,13 +1177,7 @@ editor.Components.addType('senler_btn_ud_v1-settings-block', {
|
|
1178 |
{
|
1179 |
type: 'text',
|
1180 |
name: 'on_url',
|
1181 |
-
label: '
|
1182 |
-
changeProp: true
|
1183 |
-
},
|
1184 |
-
{
|
1185 |
-
type: 'text',
|
1186 |
-
name: 'off_url',
|
1187 |
-
label: 'OFF_URL',
|
1188 |
changeProp: true
|
1189 |
},
|
1190 |
{
|
|
|
1125 |
window.vk_grup = props.vk_grup;
|
1126 |
window.s_grup = props.s_grup;
|
1127 |
window.on_url = props.on_url;
|
|
|
1128 |
window.red_on = props.red_on;
|
1129 |
const initBlock = () => {
|
1130 |
+
console.log('Empty block initialized with props:', { w_url, vk_grup, s_grup, on_url, red_on });
|
1131 |
};
|
1132 |
const loadScript = (src, callback) => {
|
1133 |
const script = document.createElement('script');
|
|
|
1177 |
{
|
1178 |
type: 'text',
|
1179 |
name: 'on_url',
|
1180 |
+
label: 'Loyalty-URL',
|
|
|
|
|
|
|
|
|
|
|
|
|
1181 |
changeProp: true
|
1182 |
},
|
1183 |
{
|