Permalink
Browse files

MINOR Allow expanding a collapsed panel by a click on the visible sur…

…face
  • Loading branch information...
1 parent 2acce7b commit 060e110481852915be1bb7abd49e8913ddd925e4 @chillu chillu committed Feb 14, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 admin/javascript/LeftAndMain.Panel.js
@@ -103,6 +103,13 @@
this.togglePanel(false);
}
});
+
+ $('.cms-panel.collapsed').entwine({
+ onclick: function(e) {
+ this.expandPanel();
+ e.preventDefault();
+ }
+ });
$('.cms-panel *').entwine({
getPanel: function() {

0 comments on commit 060e110

Please sign in to comment.