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
8af26de0
Commit
8af26de0
authored
Oct 27, 2020
by
Kim Eunchul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#39714 andやor検索(未入力検索修正)
parent
05dc286c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
abvw/js/contentsearch.js
+2
-1
abvw/js/header.js
+2
-2
No files found.
abvw/js/contentsearch.js
View file @
8af26de0
...
@@ -1041,7 +1041,7 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
...
@@ -1041,7 +1041,7 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
alert
(
'200字以下のテキストを入力してください'
);
alert
(
'200字以下のテキストを入力してください'
);
return
;
return
;
}
}
if
(
$
(
'#txtSearch'
).
val
()
!=
''
)
{
try
{
try
{
//seperate string
//seperate string
var
myRegexp
=
/
[^\s
"
]
+|"
([^
"
]
*
)
"/gi
;
var
myRegexp
=
/
[^\s
"
]
+|"
([^
"
]
*
)
"/gi
;
...
@@ -1135,6 +1135,7 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
...
@@ -1135,6 +1135,7 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
alert
(
'正しくない検索です'
);
alert
(
'正しくない検索です'
);
return
;
return
;
}
}
}
if
(
count
>
5
){
if
(
count
>
5
){
alert
(
'語句数は最大5つです'
);
alert
(
'語句数は最大5つです'
);
...
...
abvw/js/header.js
View file @
8af26de0
...
@@ -269,7 +269,7 @@ HEADER.searchHeaderButtonFunction = function(){
...
@@ -269,7 +269,7 @@ HEADER.searchHeaderButtonFunction = function(){
alert
(
'200字以下のテキストを入力してください'
);
alert
(
'200字以下のテキストを入力してください'
);
return
;
return
;
}
}
if
(
$
(
'#txtSearch'
).
val
()
!=
''
)
{
try
{
try
{
//seperate string
//seperate string
var
myRegexp
=
/
[^\s
"
]
+|"
([^
"
]
*
)
"/gi
;
var
myRegexp
=
/
[^\s
"
]
+|"
([^
"
]
*
)
"/gi
;
...
@@ -363,7 +363,7 @@ HEADER.searchHeaderButtonFunction = function(){
...
@@ -363,7 +363,7 @@ HEADER.searchHeaderButtonFunction = function(){
alert
(
'正しくない検索です'
);
alert
(
'正しくない検索です'
);
return
;
return
;
}
}
}
if
(
count
>
5
){
if
(
count
>
5
){
alert
(
'語句数は最大5つです'
);
alert
(
'語句数は最大5つです'
);
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