fix for third splitpanel element not collapsing properly
This commit is contained in:
parent
8796fe67d2
commit
dcbfbe7e49
1 changed files with 3 additions and 2 deletions
|
@ -1487,7 +1487,8 @@ requires
|
||||||
|
|
||||||
function toggle() {
|
function toggle() {
|
||||||
if (self.options.collapsible) {
|
if (self.options.collapsible) {
|
||||||
self.options.parent.toggle(self.leftOrTop ? 0 : self.options.elements.length - 1);
|
// fixme: silly, pass a parameter
|
||||||
|
self.options.parent.toggle(self.leftOrTop ? 0 : self.options.parent.options('elements').length - 1);
|
||||||
self.options.collapsed = !self.options.collapsed;
|
self.options.collapsed = !self.options.collapsed;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
@ -9298,7 +9299,7 @@ requires
|
||||||
(element.collapsed ? 1 : -1),
|
(element.collapsed ? 1 : -1),
|
||||||
animate = {};
|
animate = {};
|
||||||
animate[self.edges[pos == 0 ? 0 : 1]] = value;
|
animate[self.edges[pos == 0 ? 0 : 1]] = value;
|
||||||
Ox.print('animate', animate)
|
Ox.print('animate', animate, self.resizebarElements)
|
||||||
that.animate(animate, 200, function() {
|
that.animate(animate, 200, function() {
|
||||||
element.collapsed = !element.collapsed;
|
element.collapsed = !element.collapsed;
|
||||||
element.element.triggerEvent('toggle', {
|
element.element.triggerEvent('toggle', {
|
||||||
|
|
Loading…
Reference in a new issue