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
1e6c1e33
Commit
1e6c1e33
authored
Dec 18, 2020
by
Kim Eunchul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#40726 【TECSS Web 1.9.2.6】空欄検索で何も検索されない
parent
0363bbec
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
abvw/js/contentsearch.js
+5
-0
abvw/js/header.js
+1
-1
No files found.
abvw/js/contentsearch.js
View file @
1e6c1e33
...
@@ -1159,8 +1159,13 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
...
@@ -1159,8 +1159,13 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
}
}
}
catch
(
error
){
}
catch
(
error
){
if
(
searchText
==
''
){
searchText
=
"invaildsearchtextzeroresultfoundinempty"
;
}
else
{
searchText
=
"invaildsearchtextzeroresultfound"
;
searchText
=
"invaildsearchtextzeroresultfound"
;
}
}
}
}
}
if
(
count
>
5
){
if
(
count
>
5
){
alert
(
'語句数は最大5つです'
);
alert
(
'語句数は最大5つです'
);
...
...
abvw/js/header.js
View file @
1e6c1e33
...
@@ -271,7 +271,7 @@ HEADER.searchHeaderButtonFunction = function(){
...
@@ -271,7 +271,7 @@ HEADER.searchHeaderButtonFunction = function(){
return
;
return
;
}
}
if
(
$
(
'#searchbox-key'
).
val
()
!=
' '
&&
$
(
'#searchbox-key'
).
val
()
!=
'"or"'
&&
$
(
'#searchbox-key'
).
val
()
!=
'"OR"'
&&
$
(
'#searchbox-key'
).
val
()
!=
'"Or"'
&&
$
(
'#searchbox-key'
).
val
()
!=
'"oR"
'
)
{
if
(
$
(
'#searchbox-key'
).
val
()
!=
' '
&&
$
(
'#searchbox-key'
).
val
()
!=
'"or"'
&&
$
(
'#searchbox-key'
).
val
()
!=
'"OR"'
&&
$
(
'#searchbox-key'
).
val
()
!=
'"Or"'
&&
$
(
'#searchbox-key'
).
val
()
!=
'"oR"'
&&
$
(
'#searchbox-key'
).
val
()
!=
'
'
)
{
try
{
try
{
//seperate string
//seperate string
var
myRegexp
=
/
[^\s
"
]
+|"
([^
"
]
*
)
"/gi
;
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