Browse Source

提交代码,重定向

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.3.2^2
zouap 3 years ago
parent
commit
ba33b79a45
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      public/home/search.js

+ 2
- 2
public/home/search.js View File

@@ -102,7 +102,7 @@ function initPageInfo(){
function searchItem(type,sortType){
console.log("enter item 2.");
currentSearchKeyword = document.getElementById("keyword_input").value;
sessionStorage.setItem("searchLabel",false);
sessionStorage.removeItem("searchLabel");
if(!isEmpty(currentSearchKeyword)){
initPageInfo();
currentSearchTableName = itemType[type];
@@ -122,7 +122,7 @@ function search(){
if(!isEmpty(currentSearchKeyword)){
currentSearchKeyword = currentSearchKeyword.trim();
}
sessionStorage.setItem("searchLabel",false);
sessionStorage.removeItem("searchLabel");
$('#searchForm').addClass("hiddenSearch");
initPageInfo();
if(!isEmpty(currentSearchKeyword)){


Loading…
Cancel
Save