mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-07-02 17:39:30 +02:00
Merge pull request #1056 from kopymark/patch-2
BUG: Accordion widget doesn't actually accept 'true' for 'active'
This commit is contained in:
commit
1dcd9514f9
|
@ -4,7 +4,7 @@
|
|||
onadd: function() {
|
||||
this.accordion({
|
||||
collapsible: true,
|
||||
active: !this.hasClass("ss-toggle-start-closed")
|
||||
active: (this.hasClass("ss-toggle-start-closed")) ? false : 0
|
||||
});
|
||||
|
||||
this._super();
|
||||
|
|
Loading…
Reference in New Issue
Block a user