Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
f69301da
Commit
f69301da
authored
Dec 03, 2020
by
Kim Eunchul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#40365 【TECSS(Biz) webviewer 1.9】一覧画面で検索時にエラーを起こすキーワードがある
parent
7d27facd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
abvw/js/contentsearch.js
+3
-2
abvw/js/contentview.js
+1
-1
abvw/js/header.js
+3
-2
No files found.
abvw/js/contentsearch.js
View file @
f69301da
...
@@ -1052,15 +1052,16 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
...
@@ -1052,15 +1052,16 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
var
myArray
=
[];
var
myArray
=
[];
var
myQuery
;
var
myQuery
;
var
myRegExpArr
=
[];
var
myRegExpArr
=
[];
var
textReg
=
$
(
'#txtSearchWs'
).
val
().
replace
(
"%"
,
"
\\
%"
);
do
{
do
{
var
match
=
myRegexp
.
exec
(
$
(
'#txtSearchWs'
).
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
]);
}
}
}
while
(
match
!=
null
);
}
while
(
match
!=
null
);
console
.
log
(
myArray
);
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
]);
...
...
abvw/js/contentview.js
View file @
f69301da
...
@@ -758,7 +758,7 @@ CONTENTVIEW.searchHandle = function() {
...
@@ -758,7 +758,7 @@ CONTENTVIEW.searchHandle = function() {
myArray
.
push
(
match
[
1
]
?
match
[
1
]
:
match
[
0
]);
myArray
.
push
(
match
[
1
]
?
match
[
1
]
:
match
[
0
]);
}
}
}
while
(
match
!=
null
);
}
while
(
match
!=
null
);
console
.
log
(
myArray
);
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
]);
...
...
abvw/js/header.js
View file @
f69301da
...
@@ -278,15 +278,16 @@ HEADER.searchHeaderButtonFunction = function(){
...
@@ -278,15 +278,16 @@ HEADER.searchHeaderButtonFunction = function(){
var
myQuery
;
var
myQuery
;
var
myRegExpArr
=
[];
var
myRegExpArr
=
[];
var
count
=
0
;
var
count
=
0
;
var
textReg
=
$
(
'#searchbox-key'
).
val
().
replace
(
"%"
,
"
\\
%"
);
do
{
do
{
var
match
=
myRegexp
.
exec
(
$
(
'#searchbox-key'
).
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
]);
}
}
}
while
(
match
!=
null
);
}
while
(
match
!=
null
);
console
.
log
(
myArray
);
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
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment