forked from 0x2620/oxjs
url controller updates, list bugfixes
This commit is contained in:
parent
ef9040ba24
commit
3965eed153
12 changed files with 98 additions and 48 deletions
|
|
@ -196,6 +196,8 @@ Ox.SplitPanel = function(options, self) {
|
|||
that.$elements[pos] = element
|
||||
.css(self.edges[2], (parseInt(element.css(self.edges[2])) || 0) + 'px')
|
||||
.css(self.edges[3], (parseInt(element.css(self.edges[3])) || 0) + 'px');
|
||||
// fixme: it would be better to call removeElement here,
|
||||
// or have a custom replaceElement function that removes event handlers
|
||||
self.options.elements[pos].element.replaceWith(element.$element.$element || element.$element);
|
||||
self.options.elements[pos].element = element;
|
||||
setSizes();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue