In /formatters/accordion/accordion.js I had to change the accordion open code to
$firstErrorItem = $this.parent().accordion('option','active', i);
rather than
$firstErrorItem = $this.parent().accordion('activate', i);
though perhaps it has to do with the version of jQuery?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Screen Shot 2019-03-15 at 12.18.10 pm.png | 41.51 KB | larowlan |
| #4 | Screen Shot 2019-03-15 at 12.19.59 pm.png | 44.67 KB | larowlan |
| #2 | 2994995-02-accordion-activate.patch | 615 bytes | alanhdev |
Comments
Comment #2
alanhdev commentedThis needs to be updated: as the activate method is no longer used from jQueryUI 1.10 and current version is 1.11
http://jqueryui.com/upgrade-guide/1.10/#removed-activate-method-use-acti...
Patch attached fixes the issue.
Comment #3
alanhdev commentedComment #4
larowlanManually tested this patch and it works like it says on the box
Before
After
Comment #5
larowlanComment #6
nils.destoop commentedThx for the patch and reviewing, I committed it to dev