Unless I am completely misreading this then the code for saving the tabstate has been removed as the new tab code doesn't need extra code. If that is correct then we dont need to have HTMLHelper::_('behavior.tabstate');
in 20+files
Labels |
Added:
?
|
Labels |
Added:
J4 Issue
|
Status | New | ⇒ | Discussion |
JHtmlBehavior::tabstate()
is empty in 4.0. Should it be deprecated/removed?
The "problem" is that while the opened state works ie when you return to a page you are on the same tab what doesnt work is the ability to open a tab directly with a link eg administrator/index.php?option=com_config#page-permissions
TypeError: tabLink is null
showTab(tab) {
const tabLink = document.querySelector(`#tab-${tab.id}`);
tabLink.click();
}
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-12-17 11:37:33 |
Closed_By | ⇒ | wilsonge |
True
The tab state is controlled either by a hash in the url or an attribute in the tabs element