From 42fa8304ddb811b0f725f245130f70c0f5e86a6c Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 04 Nov 2025 06:12:02 +0000
Subject: [PATCH] =Refactored LoginManager to be more extensible and configurable, as well as an AjaxRateLimiter
---
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