collapse panel: gain focus on toggle button click

This commit is contained in:
rlx 2013-08-01 11:32:58 +00:00
parent 3e78580c91
commit f8a91e90ca

View file

@ -65,6 +65,7 @@ Ox.CollapsePanel = function(options, self) {
}) })
.bindEvent({ .bindEvent({
click: function() { click: function() {
that.gainFocus();
toggleCollapsed(true); toggleCollapsed(true);
} }
}) })