浏览代码

fix #385 : modify suggest path

Shinsuke Sugaya 9 年之前
父节点
当前提交
a0bc88d18d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/webapp/js/help.js

+ 2 - 2
src/main/webapp/js/help.js

@@ -28,8 +28,8 @@ $(function(){
 
     $('#query').suggestor( {
         ajaxinfo: {
-            url: contextPath + '/json',
-            fn: 'content',
+            url: contextPath + '/suggest',
+            fn: '_default,content,title',
             num: 10
         },
         boxCssInfo: {