Commit f0647542 by Kim Eunchul

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

parent 2c71b683
...@@ -1043,7 +1043,7 @@ CONTENTSEARCH.searchEventButtonFunction = function() { ...@@ -1043,7 +1043,7 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
return; return;
} }
if ($('#txtSearchWs').val() != ' ' && $('#txtSearchWs').val() != ' ' && $('#txtSearchWs').val() != '') { if ($('#txtSearchWs').val() != ' ') {
try{ try{
//seperate string //seperate string
var myRegexp = /[^\s"]+|"([^"]*)"/gi; var myRegexp = /[^\s"]+|"([^"]*)"/gi;
......
...@@ -270,7 +270,7 @@ HEADER.searchHeaderButtonFunction = function(){ ...@@ -270,7 +270,7 @@ HEADER.searchHeaderButtonFunction = function(){
alert('200字以下のテキストを入力してください'); alert('200字以下のテキストを入力してください');
return; return;
} }
if ($('#searchbox-key').val() != ' ' && $('#searchbox-key').val() != ' ' && $('#searchbox-key').val() != '') { if ($('#searchbox-key').val() != ' ') {
try{ try{
//seperate string //seperate string
......
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