Commit 85e19a00 by Kim Eunchul

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

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