Commit 1e6c1e33 by Kim Eunchul

#40726 【TECSS Web 1.9.2.6】空欄検索で何も検索されない

parent 0363bbec
......@@ -1159,7 +1159,12 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
}
}catch(error){
searchText = "invaildsearchtextzeroresultfound";
if(searchText == ''){
searchText = "invaildsearchtextzeroresultfoundinempty";
}else{
searchText = "invaildsearchtextzeroresultfound";
}
}
}
if(count > 5){
......
......@@ -271,7 +271,7 @@ HEADER.searchHeaderButtonFunction = function(){
return;
}
if ($('#searchbox-key').val() != ' ' && $('#searchbox-key').val() != '"or"' && $('#searchbox-key').val() != '"OR"' && $('#searchbox-key').val() != '"Or"'&& $('#searchbox-key').val() != '"oR"') {
if ($('#searchbox-key').val() != ' ' && $('#searchbox-key').val() != '"or"' && $('#searchbox-key').val() != '"OR"' && $('#searchbox-key').val() != '"Or"' && $('#searchbox-key').val() != '"oR"' && $('#searchbox-key').val() != '') {
try{
//seperate string
var myRegexp = /[^\s"]+|"([^"]*)"/gi;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment