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
df5d8bd6
Commit
df5d8bd6
authored
Nov 16, 2022
by
Takumi Imai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1.0_check_web_dev_kdh_2' into 'feature/1.0_check_web_dev'
Feature/1.0 check web dev kdh 2 See merge request
!69
parents
50a80364
734633c5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
14 deletions
+9
-14
abweb/common/js/common.js
+0
-2
abweb/common/json/lang/lang-ja.json
+1
-1
abweb/js/login/login.js
+7
-8
abweb/js/pdfPrint/pdfPrint.js
+1
-3
No files found.
abweb/common/js/common.js
View file @
df5d8bd6
...
...
@@ -58,12 +58,10 @@ COMMON.avwScreenMove = function (url) {
* @param {String} key
*/
COMMON
.
showLoading
=
function
()
{
// $(window).resize(function() {
$
(
'#loader'
).
css
(
{
'width'
:
$
(
window
).
width
(),
'height'
:
$
(
window
).
height
()
});
// });
document
.
getElementById
(
'loader'
).
style
.
display
=
'block'
;
};
...
...
abweb/common/json/lang/lang-ja.json
View file @
df5d8bd6
...
...
@@ -7,7 +7,7 @@
"txtLastLoginTime"
:
"最終ログイン時間:"
,
"msgPwdEmpty"
:
"パスワードを入力してください"
,
"msgPwdOldWrong"
:
"現在のパスワードに誤りがあります"
,
"msgPwdOldWrong"
:
"現在のパスワードに誤りがあります
。
"
,
"msgPwdNotMatch"
:
"新しいパスワードと新しいパスワード(確認)が一致しません。"
,
"msgInvaildLength"
:
"パスワードの長さは6文字以上16文字以下の間でなければいけません。"
,
"msgHasSeqChar"
:
"新しいパスワードに同じ文字を3文字以上連続して使えません。"
,
...
...
abweb/js/login/login.js
View file @
df5d8bd6
...
...
@@ -113,45 +113,44 @@ LOGIN.checkDialogValidation = function () {
if
(
!
ValidationUtil
.
CheckRequiredForText
(
currentPass
))
{
LOGIN
.
login_errorMessage
=
''
;
msgError
.
html
(
COMMON
.
format
(
I18N
.
i18nText
(
'msgEssential'
),
I18N
.
i18nText
(
'txtPwdCurr'
)).
toString
());
msgError
.
html
(
I18N
.
i18nText
(
'msgPwdEmpty'
));
msgError
.
attr
(
'lang'
,
'msgPwdEmpty'
);
msgError
.
show
();
return
false
;
}
else
if
(
!
ValidationUtil
.
CheckRequiredForText
(
newPass
))
{
LOGIN
.
login_errorMessage
=
''
;
msgError
.
html
(
I18N
.
i18nText
(
'msgPwdEmpty'
));
msgError
.
attr
(
'lang'
,
'msgPwdEmpty'
);
msgError
.
html
(
COMMON
.
format
(
I18N
.
i18nText
(
'msgEssential'
),
I18N
.
i18nText
(
'txtPwdNew'
)).
toString
());
msgError
.
show
();
return
false
;
}
else
if
(
!
ValidationUtil
.
CheckRequiredForText
(
confirmPass
))
{
LOGIN
.
login_errorMessage
=
''
;
msgError
.
html
(
COMMON
.
format
(
I18N
.
i18nText
(
'msgEssential'
),
I18N
.
i18nText
(
'txtPwdNewRe'
)).
toString
());
msgError
.
show
();
return
false
;
}
else
{
if
(
newPass
!=
confirmPass
)
{
LOGIN
.
login_errorMessage
=
''
;
msgError
.
html
(
I18N
.
i18nText
(
'msgPwdNotMatch'
));
msgError
.
attr
(
'lang'
,
'msgPwdNotMatch'
);
msgError
.
show
();
return
false
;
}
else
if
(
!
ValidationUtil
.
CheckMinLengthForByte
(
newPass
,
6
))
{
LOGIN
.
login_errorMessage
=
''
;
msgError
.
html
(
I18N
.
i18nText
(
'msgInvaildLength'
));
msgError
.
attr
(
'lang'
,
'msgInvaildLength'
);
msgError
.
show
();
return
false
;
}
else
if
(
!
ValidationUtil
.
CheckMaxLengthForByte
(
newPass
,
16
))
{
LOGIN
.
login_errorMessage
=
''
;
msgError
.
html
(
I18N
.
i18nText
(
'msgInvaildLength'
));
msgError
.
attr
(
'lang'
,
'msgInvaildLength'
);
msgError
.
show
();
return
false
;
}
else
if
(
ValidationUtil
.
HasSeqChar
(
newPass
,
3
))
{
LOGIN
.
login_errorMessage
=
''
;
msgError
.
html
(
I18N
.
i18nText
(
'msgHasSeqChar'
));
msgError
.
attr
(
'lang'
,
'msgHasSeqChar'
);
msgError
.
show
();
return
false
;
}
else
if
(
ValidationUtil
.
ContainSameSeqChar
(
newPass
,
currentPass
,
4
))
{
LOGIN
.
login_errorMessage
=
''
;
msgError
.
html
(
I18N
.
i18nText
(
'msgContainSameSeqChar'
));
msgError
.
attr
(
'lang'
,
'msgContainSameSeqChar'
);
msgError
.
show
();
return
false
;
}
else
{
...
...
abweb/js/pdfPrint/pdfPrint.js
View file @
df5d8bd6
...
...
@@ -16,8 +16,6 @@ PP.init = function () {
console
.
log
(
'PP.init'
);
PP
.
loadCommon
();
PP
.
initPdfList
();
COMMON
.
closeLoading
();
};
...
...
@@ -40,7 +38,7 @@ PP.loadCommon = function () {
titleLang
:
CONSTANT
.
PAGE_NAME
.
PDF_PRINT
,
}
];
TEMPLATE
.
loadMainNavsTitle
(
'#includedMainTitle'
,
CONSTANT
.
PAGE_NAME
.
PDF_PRINT
,
navs
,
null
);
TEMPLATE
.
loadMainNavsTitle
(
'#includedMainTitle'
,
CONSTANT
.
PAGE_NAME
.
PDF_PRINT
,
navs
,
PP
.
initPdfList
);
};
/**
...
...
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