1
0
Fork 0
forked from 0x2620/oxjs

add home button to doc page and example page

This commit is contained in:
rolux 2012-06-18 10:57:52 +02:00
commit ba1a3c4b2a
4 changed files with 47 additions and 15 deletions

View file

@ -329,11 +329,11 @@ Ox.DocPanel = function(options, self) {
replace: self.options.replace
})
.bindEvent({
close: function() {
selectItem();
},
example: function(data) {
that.triggerEvent('example', data);
},
select: function(data) {
selectItem(data.id);
}
});
that.$element.replaceElement(1, self.$page);