Koha/koha-tmpl/intranet-tmpl
Jonathan Druart 87e717406b
Bug 32728: Fix warning
There is a couple of wrong things from the previous patch:

* There is a warning in the console
Firefox
[Vue Router warn]: Unexpected error when starting the router: TypeError: document.getElementById(...) is null
Chrome
[Vue Router warn]: Unexpected error when starting the router: TypeError: Cannot read properties of null (reading 'click')
That's because the tabs are not initialized yet, and so the tab is not
correctly selected when the app is loaded.

* "Search titles" is selected when on packages, and "Search packages" is
selected when on titles

This patch remove the warning and fix the second problem.

However the tab is still wrong when the app is loaded. Will see later if
that can be fixed, but it's not trivial at first glance.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-03-02 09:37:37 -03:00
..
js Bug 32307: Fix gallery when Coce is enabled 2023-02-20 09:54:16 -03:00
lib Bug 30310: Add missing utc plugin 2023-01-31 10:19:45 -03:00
prog Bug 32728: Fix warning 2023-03-02 09:37:37 -03:00