From e729f920139f0c65902be2d6b2c32466b08375e8 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 20 Oct 2025 17:54:52 +0000
Subject: [PATCH] =Form updates
---
assets/js/dash/Tabs.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/assets/js/dash/Tabs.js b/assets/js/dash/Tabs.js
index 228da86..7d86023 100644
--- a/assets/js/dash/Tabs.js
+++ b/assets/js/dash/Tabs.js
@@ -156,7 +156,7 @@
* @param {string} tab - Tab to switch to ('items' or 'lists')
* @param {boolean} updateHistory - Whether to push the state to the url
*/
- switchTab(tab, updateHistory = true) {
+ switchTab(tab, updateHistory = false) {
document.activeElement?.blur();
// if (typeof this.callbacks['onSwitch'] === 'function') {
@@ -213,8 +213,8 @@
* Update URL when a child tab changes
*/
updateUrlFromChild() {
+ console.log('Updating URL');
if (('updateURL' in this.callbacks) ? this.callbacks.updateURL : true) {
- console.log('UpdateUrlFromChild');
if (!this.parent) {
// Only the root container should update the URL
const fullPath = this.getFullTabPath(this.activeTab);
--
Gitblit v1.10.0