User tests: Successful: Unsuccessful:
Pull Request for Issue # .
jQuery('something').nextAll().toggle('else');
FWIW https://plainjs.com got all the answers you need.
Eg for this one:
https://plainjs.com/javascript/traversing/get-siblings-of-an-element-40/
Workflow in the articles still works fine
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Repository Layout |
@bembelimen that's because I'm an idiot, https://github.com/joomla/joomla-cms/pull/23417/files#diff-4bf6113582ca75b8b0e2f8e2dd64d87aR49
this needs to be "Joomla.toggleAllNextElements(this, 'd-none')"
Labels |
Added:
?
|
@bembelimen should be fine now
BTW as these buttons are part of the JGrid (or whatever is the name of the class that builds the table rows) I would suggest to make the layout more generic (in the root/layouts) and also move the js file to somewhere like media/system/layouts/whatever-name-of-the-layout/name-of-the-script.
I have tested this item
I have tested this item
No error messages and workflow is working correctly.
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-01-05 18:50:11 |
Closed_By | ⇒ | wilsonge |
Thanks!
I got the following error:
