From e49ae8fb904ecb05e9b4bb4728220f0e7b2e663e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 11 Oct 2024 23:01:27 +0000 Subject: [PATCH] fix auto select first tab --- Theme/Backend/task-dashboard.tpl.php | 2 +- Theme/Backend/task-view.tpl.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Theme/Backend/task-dashboard.tpl.php b/Theme/Backend/task-dashboard.tpl.php index 5659fc5..d63b4eb 100755 --- a/Theme/Backend/task-dashboard.tpl.php +++ b/Theme/Backend/task-dashboard.tpl.php @@ -28,7 +28,7 @@ echo $this->data['nav']->render(); ?>
- request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>> + request->uri->fragment) || $this->request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>
diff --git a/Theme/Backend/task-view.tpl.php b/Theme/Backend/task-view.tpl.php index 08c363c..4551c16 100644 --- a/Theme/Backend/task-view.tpl.php +++ b/Theme/Backend/task-view.tpl.php @@ -35,7 +35,7 @@ echo $this->data['nav']->render(); ?>
- request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>> + request->uri->fragment) || $this->request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>