Commit 5da96037 by Kim Eunchul

#40766 【TECSS Web 1.9.2.6】ビューア内検索で、ワードが4つにも関わらず、アラート表示される

parent bf6d3286
...@@ -758,17 +758,6 @@ CONTENTVIEW.searchHandle = function() { ...@@ -758,17 +758,6 @@ CONTENTVIEW.searchHandle = function() {
} }
} while (match != null); } while (match != null);
for(var i = 0; i < myArray.length; i++){
if(myArray[i] != "OR" && myArray[i] != "or" && myArray[i] != "Or" && myArray[i] != "oR" && myArray[i] != "(" && myArray[i] != ")"){
count++;
}
}
if(count > 5){
alert('語句数は最大5つです');
return;
}
if(myArray[0].charAt(0) == "("){ if(myArray[0].charAt(0) == "("){
if(myArray[0] == "("){ if(myArray[0] == "("){
myRegExpArr[1] = new RegExp(myArray[1]); myRegExpArr[1] = new RegExp(myArray[1]);
......
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