1
0
Fork 0
forked from 0x2620/oxjs

update DocPanel and ExamplePanel

This commit is contained in:
rolux 2012-04-16 09:13:22 +02:00
commit 606497fbdd
2 changed files with 6 additions and 4 deletions

View file

@ -47,7 +47,7 @@ Ox.DocPanel = function(options, self) {
.options(options || {});
self.$list = Ox.Element();
self.$page = Ox.Element().append(self.options.element);
self.$page = Ox.Element();
that.setElement(
self.$panel = Ox.SplitPanel({
@ -174,6 +174,8 @@ Ox.DocPanel = function(options, self) {
that.$element.replaceElement(1, self.$page);
that.triggerEvent('select', {id: self.options.selected});
}
} else {
self.$page.empty().append(self.options.element);
}
}