tab ID changeds logged in

Created on 15 April 2025, about 2 months ago

Problem/Motivation

Thanks for the module!

I have three tabs. Logged out the <a> tags have IDs ui-id-1, ui-id-2, ui-id-3. Logged in as admin they have IDs ui-id-2, ui-id-3, ui-id-4. There is no ui-id-1 on the page. This is inconvenient.

🐛 Bug report
Status

Active

Version

1.4

Component

Code

Created by

🇬🇧United Kingdom John_B London (UK), Worthing (UK), Innsbruck (Tirol)

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @John_B
  • 🇬🇧United Kingdom John_B London (UK), Worthing (UK), Innsbruck (Tirol)
  • 🇷🇸Serbia levmyshkin Novi Sad, Serbia

    Hi john_b, it looks like a conflict with other jQuery UI library. jQuery UI Tabs checks IDs on the page and if ui-id-1 ID already exists, then it tries next one ui-id-2. Check what element already uses ui-id-1, I can't find a way to define these tabs IDs, because it's not provided in jQuery UI tabs documentation:
    https://api.jqueryui.com/
    https://jqueryui.com/tabs/

    It's somewhere inside jQuery UI API. I can only suggest to use nth-child() for CSS and add custom anchor in HTML. Also jQuery UI Tabs provides API to open needed tabs on page loading, there is also setting in EBT Settings.

    I have no idea how to make jQuery UI Tabs more consistant, I asked ChatGPT, but it also doesn't have any ideas.

  • 🇷🇸Serbia levmyshkin Novi Sad, Serbia
Production build 0.71.5 2024