make list lose focus on section collapse
This commit is contained in:
parent
73e6ce7292
commit
2a4703b0b5
1 changed files with 14 additions and 0 deletions
|
@ -7810,6 +7810,16 @@ requires
|
|||
}
|
||||
}
|
||||
|
||||
that.gainFocus = function() {
|
||||
that.$body.gainFocus();
|
||||
return that;
|
||||
};
|
||||
|
||||
that.loseFocus = function() {
|
||||
that.$body.loseFocus();
|
||||
return that;
|
||||
}
|
||||
|
||||
that.reloadList = function() {
|
||||
that.$body.reloadList();
|
||||
return that;
|
||||
|
@ -9455,6 +9465,7 @@ requires
|
|||
});
|
||||
}
|
||||
function clickMenu(event, data) {
|
||||
// fixme: not the best event name
|
||||
that.triggerEvent('click', data);
|
||||
}
|
||||
function dblclickTitlebar(e) {
|
||||
|
@ -9469,6 +9480,9 @@ requires
|
|||
that.$content.animate({
|
||||
marginTop: marginTop + 'px'
|
||||
}, 200);
|
||||
that.triggerEvent('toggle', {
|
||||
collapsed: self.options.collapsed
|
||||
});
|
||||
}
|
||||
self.onChange = function(key, value) {
|
||||
if (key == 'collapsed') {
|
||||
|
|
Loading…
Reference in a new issue