trustie2 welcome search ajax rm post
This commit is contained in:
parent
8269276efa
commit
8eeba962fa
|
@ -100,7 +100,6 @@
|
|||
content = $('.projects-search-text-field').val(); //获取搜索的内容
|
||||
content = encodeURIComponent(content);
|
||||
$.ajax({
|
||||
type: "post",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
url: '/user_traces/search_project?keyword=' + content + "&session_id=" + session_id,
|
||||
dataType: "json"
|
||||
|
|
|
@ -67,8 +67,7 @@ RedmineApp::Application.routes.draw do
|
|||
match 'tabs/show_analysis_tab', to: 'open_source_projects#show_analysis_tab'
|
||||
|
||||
#异步添加user行为记录到日志文件
|
||||
match 'user_traces/search_project', to: 'user_traces#search_project'
|
||||
# match 'user_traces/:action', to: 'user_traces#:action'
|
||||
match 'user_traces/:action', to: 'user_traces#:action'
|
||||
|
||||
|
||||
#分页加载关联帖子
|
||||
|
|
Loading…
Reference in New Issue