From adb3355975d019eb0d6df2222946638f9a116cc9 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 25 Jun 2012 11:26:36 +0200 Subject: [PATCH] DocPanel: fix example links --- source/Ox.UI/js/Code/DocPanel.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Code/DocPanel.js b/source/Ox.UI/js/Code/DocPanel.js index e07c0056..2dfef38e 100644 --- a/source/Ox.UI/js/Code/DocPanel.js +++ b/source/Ox.UI/js/Code/DocPanel.js @@ -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 + }); } }); }