mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Allow expanding a collapsed panel by a click on the visible surface
This commit is contained in:
parent
2acce7b632
commit
060e110481
@ -103,6 +103,13 @@
|
||||
this.togglePanel(false);
|
||||
}
|
||||
});
|
||||
|
||||
$('.cms-panel.collapsed').entwine({
|
||||
onclick: function(e) {
|
||||
this.expandPanel();
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
$('.cms-panel *').entwine({
|
||||
getPanel: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user