|
|
@ -405,7 +405,7 @@ function header_search(){
|
|
|
|
// $.get('/users/search_shixuns_or_course',
|
|
|
|
// $.get('/users/search_shixuns_or_course',
|
|
|
|
// { search: keyword,
|
|
|
|
// { search: keyword,
|
|
|
|
// index: index});
|
|
|
|
// index: index});
|
|
|
|
window.location.href = "/users/search_shixuns_or_courses" + "?search=" + keyword + "&index=" + index;
|
|
|
|
window.location.href = "/search" + "?value=" + keyword;
|
|
|
|
//e.stopPropagation();//阻止冒泡
|
|
|
|
//e.stopPropagation();//阻止冒泡
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|