Currently the code to link to a tab uses jquery. Not only do we want to get rid of jquery but the code currently doesn't work
Go to Plugins: Content - Page Break and click on "Show full description"
go to the description tab
Nothing except for this error in the console
joomla-tab.js?9cc7cf41ee2d6c979e5638cff870766e:276 Uncaught TypeError: Cannot read property 'click' of null
at HTMLElement.showTab (joomla-tab.js?9cc7cf41ee2d6c979e5638cff870766e:276)
at HTMLElement.connectedCallback (joomla-tab.js?9cc7cf41ee2d6c979e5638cff870766e:159)
at joomla-tab.js?9cc7cf41ee2d6c979e5638cff870766e:2
at joomla-tab.js?9cc7cf41ee2d6c979e5638cff870766e:401
Labels |
Added:
?
|
Status | New | ⇒ | Discussion |
Can I know what alternative to jquery can be used?
vanilla es6 JS should be used.
@dgrammatiko may can help here?
can someone help me with location of text file from where contents are displayed earlier?
@vijay9908 please test #24098
EDIT: my bad, I fixed the wrong issue in that PR
@brianteeman just replace the onclick with document.querySelector('#tab-description').click()
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-03-05 15:14:48 |
Closed_By | ⇒ | franz-wohlkoenig |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/23965
Issue Confirmed
Can I work on this?