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
5bb2fb31
Commit
5bb2fb31
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'
getTokenで取得するデータ修正 See merge request
!62
parents
85466fe2
99c621b6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
abweb/common/js/common.js
+1
-1
abweb/js/setting/settings.js
+5
-5
No files found.
abweb/common/js/common.js
View file @
5bb2fb31
...
...
@@ -144,8 +144,8 @@ COMMON.displayAlert = function (msgCode, isError) {
$
(
'#msgModel'
).
html
(
I18N
.
i18nText
(
msgCode
));
$
(
'#confirmYes'
).
hide
();
$
(
'#confirmNo'
).
text
(
I18N
.
i18nText
(
"confirmation"
));
$
(
'#modalTitle'
).
text
(
I18N
.
i18nText
(
"error"
));
if
(
isError
)
{
$
(
'#modalTitle'
).
text
(
I18N
.
i18nText
(
"error"
));
}
// $('.alert-overlay').removeClass('d-none');
// $('.alert-area').removeClass('d-none');
...
...
abweb/js/setting/settings.js
View file @
5bb2fb31
...
...
@@ -25,7 +25,11 @@ SETTINGS.getToken = function () {
const
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
API
.
PASSWORD_GET_TOKEN
;
COMMON
.
cmsAjax
(
url
,
params
,
false
,
function
(
data
)
{
$
(
'#getToken'
).
val
(
data
);
if
(
data
.
token
)
{
$
(
'#getToken'
).
val
(
data
.
token
);
}
else
{
COMMON
.
displayAlert
(
"token error.."
,
true
);
}
},
function
(
data
)
{
if
(
data
.
errorMessage
)
{
...
...
@@ -106,10 +110,6 @@ SETTINGS.dspPwdUpd1_Click = function (e) {
token
:
getToken
,
appId
:
4
,
};
// if (SETTINGS.TOKEN_VALUE != getToken) {
// COMMON.displayAlert("error");
// return;
// }
const
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
API
.
PASSWORD_CHANGE
;
COMMON
.
cmsAjax
(
url
,
params
,
false
,
SETTINGS
.
avwCmsApi_passwordChange_success
,
SETTINGS
.
avwCmsApi_passwordChange_fail
);
}
else
{
...
...
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