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.reloadList = function() {
|
||||||
that.$body.reloadList();
|
that.$body.reloadList();
|
||||||
return that;
|
return that;
|
||||||
|
@ -9455,6 +9465,7 @@ requires
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
function clickMenu(event, data) {
|
function clickMenu(event, data) {
|
||||||
|
// fixme: not the best event name
|
||||||
that.triggerEvent('click', data);
|
that.triggerEvent('click', data);
|
||||||
}
|
}
|
||||||
function dblclickTitlebar(e) {
|
function dblclickTitlebar(e) {
|
||||||
|
@ -9469,6 +9480,9 @@ requires
|
||||||
that.$content.animate({
|
that.$content.animate({
|
||||||
marginTop: marginTop + 'px'
|
marginTop: marginTop + 'px'
|
||||||
}, 200);
|
}, 200);
|
||||||
|
that.triggerEvent('toggle', {
|
||||||
|
collapsed: self.options.collapsed
|
||||||
|
});
|
||||||
}
|
}
|
||||||
self.onChange = function(key, value) {
|
self.onChange = function(key, value) {
|
||||||
if (key == 'collapsed') {
|
if (key == 'collapsed') {
|
||||||
|
|
Loading…
Reference in a new issue