|
|
@@ -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)){ |
|
|
|