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
53d658b9
Commit
53d658b9
authored
Dec 02, 2020
by
Kim Eunchul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#40414 【TECSS(Biz) webviewer 1.9】検索キーワードを6個指定できる
parent
2d817a35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
abvw/js/contentsearch.js
+6
-3
abvw/js/header.js
+2
-2
No files found.
abvw/js/contentsearch.js
View file @
53d658b9
...
...
@@ -1033,6 +1033,7 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
var
content
=
$
(
'#main-content'
).
attr
(
'checked'
);
var
tag
=
$
(
'#main-tag'
).
attr
(
'checked'
);
var
body
=
$
(
'#main-body'
).
attr
(
'checked'
);
var
count
=
0
;
var
offset
=
0
;
var
limit
=
CONTENTSEARCH
.
returnNumberDispRecordForList
();
...
...
@@ -1041,14 +1042,16 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
alert
(
'200字以下のテキストを入力してください'
);
return
;
}
if
(
$
(
'#txtSearch'
).
val
()
!=
''
)
{
if
(
$
(
'#txtSearchWs'
).
val
()
!=
''
)
{
try
{
//seperate string
var
myRegexp
=
/
[^\s
"
]
+|"
([^
"
]
*
)
"/gi
;
var
myArray
=
[];
var
myQuery
;
var
myRegExpArr
=
[];
var
count
=
0
;
do
{
var
match
=
myRegexp
.
exec
(
$
(
'#txtSearchWs'
).
val
());
...
...
@@ -1136,7 +1139,7 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
return
;
}
}
if
(
count
>
5
){
alert
(
'語句数は最大5つです'
);
return
;
...
...
abvw/js/header.js
View file @
53d658b9
...
...
@@ -264,12 +264,12 @@ HEADER.searchHeaderButtonFunction = function(){
var
searchDivision
;
var
searchText
=
$
(
'#searchbox-key'
).
val
();
if
(
searchText
.
length
>
200
){
alert
(
'200字以下のテキストを入力してください'
);
return
;
}
if
(
$
(
'#
txtSearch
'
).
val
()
!=
''
)
{
if
(
$
(
'#
searchbox-key
'
).
val
()
!=
''
)
{
try
{
//seperate string
var
myRegexp
=
/
[^\s
"
]
+|"
([^
"
]
*
)
"/gi
;
...
...
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