DocPanel: fix example links

This commit is contained in:
rolux 2012-06-25 11:26:36 +02:00
parent f91a513ee8
commit adb3355975

View file

@ -155,7 +155,10 @@ Ox.DocPanel = function(options, self) {
if (item) {
item.examples = (
item.examples || []
).concat({id: example, title: title});
).concat({
id: example.split('/').pop(),
title: title
});
}
});
}