git-svn-id: http://svn.redmine.org/redmine/trunk@20829 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/4.2.0
selectTemplate: function (wikiPage) { | selectTemplate: function (wikiPage) { | ||||
return '[[' + wikiPage.original.value + ']]'; | return '[[' + wikiPage.original.value + ']]'; | ||||
}, | }, | ||||
menuItemTemplate: function (wikiPage) { | |||||
return sanitizeHTML(wikiPage.original.label); | |||||
}, | |||||
noMatchTemplate: function () { | noMatchTemplate: function () { | ||||
return '<span style:"visibility: hidden;"></span>'; | return '<span style:"visibility: hidden;"></span>'; | ||||
} | } |