Commit c32fd183 by Kim Eunchul

#40466 【TECSS(Biz) webviewer 1.9】コンテンツビューア内で検索が行われない

parent 84c38002
...@@ -746,11 +746,12 @@ CONTENTVIEW.searchHandle = function() { ...@@ -746,11 +746,12 @@ CONTENTVIEW.searchHandle = function() {
var myArray = []; var myArray = [];
var myQuery; var myQuery;
var myRegExpArr = []; var myRegExpArr = [];
var count = 0; var count = 0;
var textReg = $('#txtSearch').val().replace(/[.*+?^${}|[\]\\]/g, "\\$&");
try{ try{
do { do {
var match = myRegexp.exec($('#txtSearch').val()); var match = myRegexp.exec(textReg);
if (match != null) if (match != null)
{ {
myArray.push(match[1] ? match[1] : match[0]); myArray.push(match[1] ? match[1] : match[0]);
......
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