3
Обработка
@@ -1388,9 +1388,12 @@
stepResult.style.display = 'none';
downloadLink.style.display = 'none';
progressWrap.style.display = 'none';
- // Hide "Выполнить" for tabs with inline actions (pages have own buttons)
- const noMainButton = ['pages'];
- actionWrap.style.display = noMainButton.includes(tab.dataset.op) ? 'none' : 'block';
+ // Hide step 3+4 entirely for tabs with inline actions
+ const inlineTabs = ['pages'];
+ const isInline = inlineTabs.includes(tab.dataset.op);
+ var s3 = document.getElementById('step3Wrap');
+ if (s3) s3.style.display = isInline ? 'none' : '';
+ actionWrap.style.display = isInline ? 'none' : 'block';
});
});