User tests: Successful: Unsuccessful:
Pull Request for Issue #11648
Do not keep adding tabs, active should be only one
Apply patch and navigate to administrator area on views with tabs and reload pages after selecting different tab. The active tab should be always the last selected.
None
Category | ⇒ | JavaScript |
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
@dgt41 I re-installed the latest 3.6.3-dev, applied the patch, cleared the browser cache and Joomla caches, closed the browser (FF48).
Still the same problem, the active tab is randomly selected and sometimes even none.
So I went to Contacts and selected the tab Permissions and then choose another subject, the tab Permissions is then always active.
Then I went to Articles and selected the tab Articles.
Then I went to Banners and no tab was selected at all.
I am gonna need some data to understand why this is failing for you, so can you open web inspector and select the cog icon (on the right) and then enable storage?
Then selecting storage you should have something like:
Can you verify that when you click on another tab the values change and what are the new values?
After clearing browser and Joomla caches I performed the following test.
I followed your instructions and got the Global storage visible.
Started Joomla, go to Global Configuration.
The panel below shows: Key: active-tabs; Value: ["#page-site"] and Key: jsidebar; Value: false.
On selecting another tab the Key and Value changes; i.e tab System says: Key: active-tabs; Value: ["#page-system"].
So selecting other tabs changes the key and value.
Then I selected the component Articles. Nothing shows up in the panel below, besides: Key: jsidebar; Value: false
Then I selected tabs within Articles; the key and value changes on every click.
Is this the info you are looking for?
@BurtNL That's totally strange, I mean if you have values like ["#page-site"]
then the script should work fine. Before this patch the problem was that instead of one value you could end up with an array. I have to somehow replicate your problem in order to test/debug and so far I can't...
@dgt41 This is what I see happening. When I choose a component (on left hand side) and select the tab Permissions than that selection becomes 'sticky'. Choosing another component than also has the tab Permissions selected. As long as tab Permissions is available in the component it will select it.
When I choose component Articles and select the tab Articles and than go to another component (which doesn't have a tab called Articles) than things start to go wrong. Since tab articles does not exist in i.e. Contacts it selects tab Permissions or nothing.
I guess this was already clear to you, but maybe worth mentioning.
If I need to do another test later on, let me know, happy to test it.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-08-19 09:12:25 |
Closed_By | ⇒ | dgt41 |
I applied this patch on 3.6.3-dev, but it doesn't solve the issue as reported in #11648.
The active selected tab is still random, sometimes the first one, sometimes the last one and sometimes even with no active tab visible.
After applying the patch I cleared all Joomla-caches and the browser cache, still the same result as described above.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11658.