Commit 85e19a00 by Kim Eunchul

#40365 【TECSS(Biz) webviewer 1.9】一覧画面で検索時にエラーを起こすキーワードがある

parent cbeac78b
......@@ -1043,15 +1043,14 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
return;
}
if ($('#txtSearchWs').val() != ' ') {
if ($('#txtSearchWs').val() != ' ') {
try{
//seperate string
var myRegexp = /[^\s"]+|"([^"]*)"/gi;
var myArray = [];
var myQuery;
var myRegExpArr = [];
var textReg = $('#txtSearchWs');
var textReg = $('#txtSearchWs').val();
do {
var match = myRegexp.exec(textReg);
......
......@@ -270,7 +270,7 @@ HEADER.searchHeaderButtonFunction = function(){
alert('200字以下のテキストを入力してください');
return;
}
if ($('#txtSearchWs').val() != ' ') {
if ($('#searchbox-key').val() != ' ') {
try{
//seperate string
......@@ -278,7 +278,7 @@ HEADER.searchHeaderButtonFunction = function(){
var myArray = [];
var myQuery;
var myRegExpArr = [];
var textReg = $('#txtSearchWs');
var textReg = $('#searchbox-key').val();
do {
var match = myRegexp.exec(textReg);
......@@ -375,7 +375,7 @@ HEADER.searchHeaderButtonFunction = function(){
}
ClientData.searchCond_searchText(" ");
ClientData.searchCond_searchDivision(10);
ClientData.searchCond_searchDivision(0);
//window.location = COMMON.ScreenIds.ContentSearch;
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentSearch);
return;
......
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