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
a8ca3a66
Commit
a8ca3a66
authored
Dec 15, 2020
by
Kim Eunchul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#40821 【TECSS Web 1.9.2.6】「or」「(」「半角スペース」で検索した時の結果が統一されていない
parent
8b22dfd8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
abvw/common/json/lang/lang-en.json
+1
-0
abvw/js/contentview.js
+10
-2
No files found.
abvw/common/json/lang/lang-en.json
View file @
a8ca3a66
...
...
@@ -83,6 +83,7 @@
"txtTextCopy"
:
"Copy Body Text"
,
"txtNoTextCopy"
:
"No Text"
,
"txtNoSearchResult"
:
"No Result"
,
"txtErrorSearchResult"
:
"No Result"
,
"msgShioriNotExists"
:
"no Bookmark"
,
"msgPwdChangeOK"
:
"Success."
,
"msgPwdChangeNG"
:
"Failed.<br/>Password requires at least both of character and numeric."
,
...
...
abvw/js/contentview.js
View file @
a8ca3a66
...
...
@@ -727,7 +727,7 @@ CONTENTVIEW.eventEnd_CopyText = function(e) {
/* search content */
CONTENTVIEW
.
searchHandle
=
function
()
{
var
w
=
$
(
"#main"
).
width
()
-
$
(
".hdRcolumn"
).
width
();
var
searchText
;
var
pos
=
[
w
,
CONTENTVIEW
.
marginY
];
if
(
$
(
'#txtSearch'
).
val
().
length
>
200
){
...
...
@@ -827,6 +827,10 @@ CONTENTVIEW.searchHandle = function() {
}
}
if
(
$
(
'#txtSearch'
).
val
()
==
"or"
||
$
(
'#txtSearch'
).
val
()
==
"Or"
||
$
(
'#txtSearch'
).
val
()
==
"oR"
||
$
(
'#txtSearch'
).
val
()
==
"OR"
){
myQuery
=
' ||'
;
}
for
(
var
nIndex
=
0
;
nIndex
<
contentPage
.
length
;
nIndex
++
)
{
if
(
eval
(
myQuery
))
{
//searchResult.push(contentPage[nIndex]);
...
...
@@ -930,7 +934,11 @@ CONTENTVIEW.searchHandle = function() {
}
}
else
{
$
(
'#divSearchResult'
).
children
().
remove
();
$
(
'#divSearchResult'
).
append
(
'<span class="last">'
+
I18N
.
i18nText
(
'txtNoSearchResult'
)
+
'</span>'
);
if
(
searchText
==
"invaildsearchtextzeroresultfound"
){
$
(
'#divSearchResult'
).
append
(
'<span class="last">'
+
I18N
.
i18nText
(
'txtErrorSearchResult'
)
+
'</span>'
);
}
else
{
$
(
'#divSearchResult'
).
append
(
'<span class="last">'
+
I18N
.
i18nText
(
'txtNoSearchResult'
)
+
'</span>'
);
}
//title start
$
(
'#bookmarkBoxHdSearching'
).
children
().
remove
();
...
...
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