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
bf9c6c4e
Commit
bf9c6c4e
authored
Dec 09, 2020
by
Kim Eunchul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#40708 【TECSS(Biz) webviewer/Win 1.9】【仕様確認】同じ検索キーワードで動作が異なるものがある
parent
6f254543
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
10 deletions
+36
-10
abvw/js/contentsearch.js
+12
-5
abvw/js/contentview.js
+12
-0
abvw/js/header.js
+12
-5
No files found.
abvw/js/contentsearch.js
View file @
bf9c6c4e
...
...
@@ -1059,6 +1059,18 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
myArray
.
push
(
match
[
1
]
?
match
[
1
]
:
match
[
0
]);
}
}
while
(
match
!=
null
);
for
(
var
i
=
1
;
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
]
==
"("
){
myRegExpArr
[
1
]
=
new
RegExp
(
myArray
[
1
]);
...
...
@@ -1137,11 +1149,6 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
}
}
if
(
count
>
5
){
alert
(
'語句数は最大5つです'
);
return
;
}
if
(
CONTENTSEARCH
.
overClick
()){
return
;
}
...
...
abvw/js/contentview.js
View file @
bf9c6c4e
...
...
@@ -757,6 +757,18 @@ CONTENTVIEW.searchHandle = function() {
myArray
.
push
(
match
[
1
]
?
match
[
1
]
:
match
[
0
]);
}
}
while
(
match
!=
null
);
for
(
var
i
=
1
;
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
]
==
"("
){
myRegExpArr
[
1
]
=
new
RegExp
(
myArray
[
1
]);
...
...
abvw/js/header.js
View file @
bf9c6c4e
...
...
@@ -286,7 +286,18 @@ HEADER.searchHeaderButtonFunction = function(){
{
myArray
.
push
(
match
[
1
]
?
match
[
1
]
:
match
[
0
]);
}
}
while
(
match
!=
null
);
}
while
(
match
!=
null
);
for
(
var
i
=
1
;
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
]
==
"("
){
...
...
@@ -381,10 +392,6 @@ HEADER.searchHeaderButtonFunction = function(){
return
;
}
}
if
(
count
>
5
){
alert
(
'語句数は最大5つです'
);
return
;
}
if
(
HEADER
.
overClick
()){
return
;
...
...
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