skopix 2.0.26 → 2.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/index.html +10 -4
package/package.json
CHANGED
package/web/app/index.html
CHANGED
|
@@ -5753,11 +5753,12 @@ function openTestBuilder() {
|
|
|
5753
5753
|
builderSteps = [];
|
|
5754
5754
|
document.getElementById('builder-test-name').value = '';
|
|
5755
5755
|
document.getElementById('builder-url').value = '';
|
|
5756
|
-
//
|
|
5757
|
-
document.querySelectorAll('.view').forEach(v => v.style.display = '
|
|
5756
|
+
// Deactivate all views and nav items
|
|
5757
|
+
document.querySelectorAll('.view').forEach(v => { v.classList.remove('active'); v.style.display = ''; });
|
|
5758
|
+
document.querySelectorAll('.nav-item').forEach(n => n.classList.remove('active'));
|
|
5759
|
+
// Show builder
|
|
5758
5760
|
const bv = document.getElementById('view-test-builder');
|
|
5759
5761
|
bv.style.display = 'flex';
|
|
5760
|
-
document.querySelectorAll('.nav-item').forEach(n => n.classList.remove('active'));
|
|
5761
5762
|
renderBuilderSteps();
|
|
5762
5763
|
// Load library if not cached
|
|
5763
5764
|
if (libraryStepsCache.length === 0) {
|
|
@@ -5768,7 +5769,12 @@ function openTestBuilder() {
|
|
|
5768
5769
|
}
|
|
5769
5770
|
|
|
5770
5771
|
function closeTestBuilder() {
|
|
5771
|
-
document.getElementById('view-test-builder')
|
|
5772
|
+
const builder = document.getElementById('view-test-builder');
|
|
5773
|
+
if (builder) builder.style.display = 'none';
|
|
5774
|
+
// Restore all views to their default display state before switching
|
|
5775
|
+
document.querySelectorAll('.view').forEach(v => {
|
|
5776
|
+
if (v.id !== 'view-test-builder') v.style.display = '';
|
|
5777
|
+
});
|
|
5772
5778
|
switchView(previousView);
|
|
5773
5779
|
}
|
|
5774
5780
|
|