Commit b6960e00 by Kim Eunchul

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

parent 762dbbb9
...@@ -1158,7 +1158,7 @@ CONTENTSEARCH.searchEventButtonFunction = function() { ...@@ -1158,7 +1158,7 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
if (body == 'checked') { if (body == 'checked') {
searchDivision = $('#searchbox-body').val(); searchDivision = $('#searchbox-body').val();
} }
searchText = searchText.replace('%','\%'); searchText = searchText.replace('%','\\%');
searchText = searchText.replace('""','" "'); searchText = searchText.replace('""','" "');
console.log('output text2: ' +searchText); console.log('output text2: ' +searchText);
var genreId = ClientData.searchCond_genreId(); var genreId = ClientData.searchCond_genreId();
......
...@@ -403,7 +403,7 @@ HEADER.searchHeaderButtonFunction = function(){ ...@@ -403,7 +403,7 @@ HEADER.searchHeaderButtonFunction = function(){
{ {
searchDivision = $('#searchbox-body').val(); searchDivision = $('#searchbox-body').val();
} }
searchText = searchText.replace('%','\%'); searchText = searchText.replace('%','\\%');
searchText = searchText.replace('""','" "'); searchText = searchText.replace('""','" "');
console.log('output text1: ' +searchText); console.log('output text1: ' +searchText);
ClientData.searchCond_searchText(searchText); ClientData.searchCond_searchText(searchText);
......
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