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
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
9 deletions
+35
-9
abvw/js/contentsearch.js
+12
-5
abvw/js/contentview.js
+12
-0
abvw/js/header.js
+11
-4
No files found.
abvw/js/contentsearch.js
View file @
bf9c6c4e
...
@@ -1059,6 +1059,18 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
...
@@ -1059,6 +1059,18 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
myArray
.
push
(
match
[
1
]
?
match
[
1
]
:
match
[
0
]);
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
].
charAt
(
0
)
==
"("
){
if
(
myArray
[
0
]
==
"("
){
if
(
myArray
[
0
]
==
"("
){
myRegExpArr
[
1
]
=
new
RegExp
(
myArray
[
1
]);
myRegExpArr
[
1
]
=
new
RegExp
(
myArray
[
1
]);
...
@@ -1137,11 +1149,6 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
...
@@ -1137,11 +1149,6 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
}
}
}
}
if
(
count
>
5
){
alert
(
'語句数は最大5つです'
);
return
;
}
if
(
CONTENTSEARCH
.
overClick
()){
if
(
CONTENTSEARCH
.
overClick
()){
return
;
return
;
}
}
...
...
abvw/js/contentview.js
View file @
bf9c6c4e
...
@@ -757,6 +757,18 @@ CONTENTVIEW.searchHandle = function() {
...
@@ -757,6 +757,18 @@ 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
);
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
].
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 @
bf9c6c4e
...
@@ -288,6 +288,17 @@ HEADER.searchHeaderButtonFunction = function(){
...
@@ -288,6 +288,17 @@ HEADER.searchHeaderButtonFunction = function(){
}
}
}
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
].
charAt
(
0
)
==
"("
){
if
(
myArray
[
0
]
==
"("
){
if
(
myArray
[
0
]
==
"("
){
myRegExpArr
[
1
]
=
new
RegExp
(
myArray
[
1
]);
myRegExpArr
[
1
]
=
new
RegExp
(
myArray
[
1
]);
...
@@ -381,10 +392,6 @@ HEADER.searchHeaderButtonFunction = function(){
...
@@ -381,10 +392,6 @@ HEADER.searchHeaderButtonFunction = function(){
return
;
return
;
}
}
}
}
if
(
count
>
5
){
alert
(
'語句数は最大5つです'
);
return
;
}
if
(
HEADER
.
overClick
()){
if
(
HEADER
.
overClick
()){
return
;
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