Commit 0a757f0e by Kim Eunchul

#40696 【TECSS(Biz) Win 1.9】【仕様確認】全角スペースのみを入力した際の挙動が異なる

parent 1e6c1e33
...@@ -747,12 +747,12 @@ CONTENTVIEW.searchHandle = function() { ...@@ -747,12 +747,12 @@ CONTENTVIEW.searchHandle = function() {
var myQuery; var myQuery;
var myRegExpArr = []; var myRegExpArr = [];
var count = 0; var count = 0;
var textReg = $('#txtSearch').val().replace(/\(/g," \( ").replace(/\)/g," \) "); var textReg = $('#txtSearch').val().replace(/\(/g," \( ").replace(/\)/g," \) ").replace(/ /g,'"\ "');
//)(check //)(check
var dummyArray = []; var dummyArray = [];
var dummytextReg = $('#txtSearch').val().replace(/\"/g,"'\"'"); var dummytextReg = $('#txtSearch').val().replace(/\"/g,"'\"'");
if($('#txtSearch').val() == '"("'){ if($('#txtSearch').val() == '"("'){
myRegExpArr[0] = new RegExp("[\(]"); myRegExpArr[0] = new RegExp("[\(]");
for (var nIndex = 0; nIndex < contentPage.length; nIndex++) { for (var nIndex = 0; nIndex < contentPage.length; nIndex++) {
......
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