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
5aa0e913
Commit
5aa0e913
authored
Dec 14, 2020
by
Kim Eunchul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#40808 【TECSS Win 1.9.2.6】ビューア内で「(」検索すると、エラー表示される
parent
4a9d0ebb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
10 deletions
+35
-10
abvw/common/json/lang/lang-ja.json
+1
-0
abvw/js/contentsearch.js
+18
-5
abvw/js/header.js
+15
-5
custom/pana/abvw/common/json/lang/lang-ja.json
+1
-0
No files found.
abvw/common/json/lang/lang-ja.json
View file @
5aa0e913
...
@@ -83,6 +83,7 @@
...
@@ -83,6 +83,7 @@
"txtTextCopy"
:
"テキストコピー"
,
"txtTextCopy"
:
"テキストコピー"
,
"txtNoTextCopy"
:
"テキストがありません。"
,
"txtNoTextCopy"
:
"テキストがありません。"
,
"txtNoSearchResult"
:
"検索結果がありません。"
,
"txtNoSearchResult"
:
"検索結果がありません。"
,
"txtErrorSearchResult"
:
"検索構文に誤りがあります。"
,
"msgShioriNotExists"
:
"しおりがありません"
,
"msgShioriNotExists"
:
"しおりがありません"
,
"msgPwdChangeOK"
:
"パスワードを変更しました。"
,
"msgPwdChangeOK"
:
"パスワードを変更しました。"
,
"msgPwdChangeNG"
:
"パスワード変更に失敗しました。再入力してください。※注意:新規パスワードには英字および数字両方を含める必要があります。"
,
"msgPwdChangeNG"
:
"パスワード変更に失敗しました。再入力してください。※注意:新規パスワードには英字および数字両方を含める必要があります。"
,
...
...
abvw/js/contentsearch.js
View file @
5aa0e913
...
@@ -347,7 +347,7 @@ CONTENTSEARCH.renderContent = function(id, text, division, type, order, offset,
...
@@ -347,7 +347,7 @@ CONTENTSEARCH.renderContent = function(id, text, division, type, order, offset,
}
}
// Toggle scroll to top Control
// Toggle scroll to top Control
CONTENTSEARCH
.
handleBackToTop
();
CONTENTSEARCH
.
handleBackToTop
(
params
.
searchText
);
// I18N.changeLanguage(ClientData.userInfo_language());
// I18N.changeLanguage(ClientData.userInfo_language());
I18N
.
i18nReplaceText
();
I18N
.
i18nReplaceText
();
...
@@ -355,7 +355,7 @@ CONTENTSEARCH.renderContent = function(id, text, division, type, order, offset,
...
@@ -355,7 +355,7 @@ CONTENTSEARCH.renderContent = function(id, text, division, type, order, offset,
};
};
// Handle Back To Top Button
// Handle Back To Top Button
CONTENTSEARCH
.
handleBackToTop
=
function
()
{
CONTENTSEARCH
.
handleBackToTop
=
function
(
searchText
)
{
if
(
ClientData
.
searchCond_recordTo
()
>=
CONTENTSEARCH
.
totalPage
)
{
if
(
ClientData
.
searchCond_recordTo
()
>=
CONTENTSEARCH
.
totalPage
)
{
$
(
'#control-nextrecord'
).
css
(
'visibility'
,
'hidden'
);
$
(
'#control-nextrecord'
).
css
(
'visibility'
,
'hidden'
);
}
else
{
}
else
{
...
@@ -364,7 +364,7 @@ CONTENTSEARCH.handleBackToTop = function() {
...
@@ -364,7 +364,7 @@ CONTENTSEARCH.handleBackToTop = function() {
if
(
CONTENTSEARCH
.
totalPage
==
0
)
{
if
(
CONTENTSEARCH
.
totalPage
==
0
)
{
$
(
'#control-nextrecord'
).
css
(
'visibility'
,
'hidden'
);
$
(
'#control-nextrecord'
).
css
(
'visibility'
,
'hidden'
);
CONTENTSEARCH
.
displayResultNoRecord
();
CONTENTSEARCH
.
displayResultNoRecord
(
searchText
);
CONTENTSEARCH
.
noRecordFlg
=
true
;
CONTENTSEARCH
.
noRecordFlg
=
true
;
}
else
{
}
else
{
$
(
'#msgSearchNotExist'
).
hide
();
$
(
'#msgSearchNotExist'
).
hide
();
...
@@ -1132,12 +1132,20 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
...
@@ -1132,12 +1132,20 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
}
}
}
}
}
}
if
(
searchText
==
")"
){
myQuery
+=
' &&'
;
}
if
(
eval
(
myQuery
))
{
if
(
eval
(
myQuery
))
{
//is not correct query
//is not correct query
}
}
}
catch
(
error
){
}
catch
(
error
){
searchText
=
"invaildsearchtextzeroresultfound"
;
if
(
searchText
.
length
===
0
||
!
searchText
.
trim
()){
searchText
=
"invaildsearchtextzeroresultfoundEmpty"
;
}
else
{
searchText
=
"invaildsearchtextzeroresultfound"
;
}
}
}
}
}
if
(
count
>
5
){
if
(
count
>
5
){
...
@@ -1325,11 +1333,16 @@ CONTENTSEARCH.formatDisplayMoreRecord = function() {
...
@@ -1325,11 +1333,16 @@ CONTENTSEARCH.formatDisplayMoreRecord = function() {
};
};
CONTENTSEARCH
.
displayResultNoRecord
=
function
()
{
CONTENTSEARCH
.
displayResultNoRecord
=
function
(
searchText
)
{
I18N
.
i18nReplaceText
();
I18N
.
i18nReplaceText
();
// $('#content-grid').html(I18N.i18nText('msgSearchNotExist'));
// $('#content-grid').html(I18N.i18nText('msgSearchNotExist'));
// $('#content-grid').css({ 'text-align': 'left', 'margin-top': '20px',
// $('#content-grid').css({ 'text-align': 'left', 'margin-top': '20px',
// 'clear': 'both' });
// 'clear': 'both' });
if
(
searchText
==
"invaildsearchtextzeroresultfound"
){
$
(
'#msgSearchNotExist'
).
attr
(
"lang"
,
"txtErrorSearchResult"
);
}
else
{
$
(
'#msgSearchNotExist'
).
attr
(
"lang"
,
"msgSearchNotExist"
);
}
$
(
'#content-grid'
).
html
(
''
);
$
(
'#content-grid'
).
html
(
''
);
$
(
'#msgSearchNotExist'
).
show
();
$
(
'#msgSearchNotExist'
).
show
();
$
(
'#msgSearchNotExist'
).
css
({
$
(
'#msgSearchNotExist'
).
css
({
...
...
abvw/js/header.js
View file @
5aa0e913
...
@@ -293,8 +293,8 @@ HEADER.searchHeaderButtonFunction = function(){
...
@@ -293,8 +293,8 @@ HEADER.searchHeaderButtonFunction = function(){
count
++
;
count
++
;
}
}
}
}
console
.
log
(
myArray
);
if
(
count
>
5
){
if
(
count
>
5
){
alert
(
'語句数は最大5つです'
);
alert
(
'語句数は最大5つです'
);
return
;
return
;
}
}
...
@@ -359,8 +359,12 @@ HEADER.searchHeaderButtonFunction = function(){
...
@@ -359,8 +359,12 @@ HEADER.searchHeaderButtonFunction = function(){
}
}
}
}
}
}
}
if
(
searchText
==
")"
){
myQuery
+=
' &&'
;
}
}
if
(
eval
(
myQuery
))
{
if
(
eval
(
myQuery
))
{
//is not correct query
//is not correct query
}
}
...
@@ -380,8 +384,14 @@ HEADER.searchHeaderButtonFunction = function(){
...
@@ -380,8 +384,14 @@ HEADER.searchHeaderButtonFunction = function(){
if
(
count
>
5
){
if
(
count
>
5
){
alert
(
'語句数は最大5つです'
);
alert
(
'語句数は最大5つです'
);
return
;
return
;
}
}
ClientData
.
searchCond_searchText
(
"invaildsearchtextzeroresultfound"
);
if
(
searchText
.
length
===
0
||
!
searchText
.
trim
()){
ClientData
.
searchCond_searchText
(
"invaildsearchtextzeroresultfoundEmpty"
);
}
else
{
ClientData
.
searchCond_searchText
(
"invaildsearchtextzeroresultfound"
);
}
ClientData
.
searchCond_searchDivision
(
searchDivision
);
ClientData
.
searchCond_searchDivision
(
searchDivision
);
ClientData
.
searchCond_searchText_Dummy
(
searchText
);
ClientData
.
searchCond_searchText_Dummy
(
searchText
);
//window.location = COMMON.ScreenIds.ContentSearch;
//window.location = COMMON.ScreenIds.ContentSearch;
...
...
custom/pana/abvw/common/json/lang/lang-ja.json
View file @
5aa0e913
...
@@ -82,6 +82,7 @@
...
@@ -82,6 +82,7 @@
"txtTextCopy"
:
"テキストコピー"
,
"txtTextCopy"
:
"テキストコピー"
,
"txtNoTextCopy"
:
"テキストがありません。"
,
"txtNoTextCopy"
:
"テキストがありません。"
,
"txtNoSearchResult"
:
"検索結果がありません。"
,
"txtNoSearchResult"
:
"検索結果がありません。"
,
"txtErrorSearchResult"
:
"検索構文に誤りがあります。"
,
"msgShioriNotExists"
:
"しおりがありません"
,
"msgShioriNotExists"
:
"しおりがありません"
,
"msgPwdChangeOK"
:
"パスワードを変更しました。"
,
"msgPwdChangeOK"
:
"パスワードを変更しました。"
,
"msgPwdChangeNG"
:
"パスワード変更に失敗しました。再入力してください。※注意:新規パスワードには英字および数字両方を含める必要があります。"
,
"msgPwdChangeNG"
:
"パスワード変更に失敗しました。再入力してください。※注意:新規パスワードには英字および数字両方を含める必要があります。"
,
...
...
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