MINOR Allow expanding a collapsed panel by a click on the visible surface

This commit is contained in:
Ingo Schommer 2012-02-14 21:46:50 +01:00
parent 2acce7b632
commit 060e110481

View File

@ -103,6 +103,13 @@
this.togglePanel(false);
}
});
$('.cms-panel.collapsed').entwine({
onclick: function(e) {
this.expandPanel();
e.preventDefault();
}
});
$('.cms-panel *').entwine({
getPanel: function() {