Commit d05485a2 by Kim Eunchul

#40770 【TECSS Web 1.9.2.6】検索調査依頼

parent dab47119
...@@ -1050,7 +1050,7 @@ CONTENTSEARCH.searchEventButtonFunction = function() { ...@@ -1050,7 +1050,7 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
var myArray = []; var myArray = [];
var myQuery; var myQuery;
//var myRegExpArr = []; //var myRegExpArr = [];
var textReg = $('#txtSearchWs').val().replaceAll("("," ( ").replaceAll(")"," ) "); var textReg = $('#txtSearchWs').val().replace("("," ( ").replace(")"," ) ");
do { do {
var match = myRegexp.exec(textReg); var match = myRegexp.exec(textReg);
......
...@@ -747,7 +747,7 @@ CONTENTVIEW.searchHandle = function() { ...@@ -747,7 +747,7 @@ CONTENTVIEW.searchHandle = function() {
var myQuery; var myQuery;
var myRegExpArr = []; var myRegExpArr = [];
var count = 0; var count = 0;
var textReg = $('#txtSearch').val().replace(/[.*+?^${}|[\]\\]/g, "\\$&").replace("%", "\\%").replace(' ', '" "').replaceAll("("," ( ").replaceAll(")"," ) ");; var textReg = $('#txtSearch').val().replace(/[.*+?^${}|[\]\\]/g, "\\$&").replace("%", "\\%").replace(' ', '" "').replace("("," ( ").replace(")"," ) ");;
try{ try{
do { do {
......
...@@ -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 = $('#searchbox-key').val().replaceAll("("," ( ").replaceAll(")"," ) "); var textReg = $('#searchbox-key').val().replace("("," ( ").replace(")"," ) ");
do { do {
var match = myRegexp.exec(textReg); var match = myRegexp.exec(textReg);
......
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