|
|
|
@ -2364,7 +2364,7 @@ HTML = """<!doctype html>
|
|
|
|
duplicateConfigBlock(block);
|
|
|
|
duplicateConfigBlock(block);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
actions.append(visibility, duplicate);
|
|
|
|
actions.append(visibility, duplicate);
|
|
|
|
if (block.dataset.custom === 'true' && !state && !deleted) {
|
|
|
|
if (block.dataset.custom === 'true') {
|
|
|
|
const remove = document.createElement('button');
|
|
|
|
const remove = document.createElement('button');
|
|
|
|
remove.type = 'button';
|
|
|
|
remove.type = 'button';
|
|
|
|
remove.textContent = 'удалить навсегда';
|
|
|
|
remove.textContent = 'удалить навсегда';
|
|
|
|
@ -2955,6 +2955,8 @@ HTML = """<!doctype html>
|
|
|
|
duplicateNetworkBlock(block);
|
|
|
|
duplicateNetworkBlock(block);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
actions.appendChild(duplicate);
|
|
|
|
actions.appendChild(duplicate);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (block.dataset.custom === 'true') {
|
|
|
|
const remove = document.createElement('button');
|
|
|
|
const remove = document.createElement('button');
|
|
|
|
remove.type = 'button';
|
|
|
|
remove.type = 'button';
|
|
|
|
remove.textContent = 'удалить';
|
|
|
|
remove.textContent = 'удалить';
|
|
|
|
|