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
b446ac6a
Commit
b446ac6a
authored
May 16, 2014
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#12154 複数端末からログイン時のシステムエラーから自力復旧対応
parent
5a33db74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
3 deletions
+25
-3
abvw/common/js/avweb.js
+11
-2
abvw/js/header.js
+14
-1
No files found.
abvw/common/js/avweb.js
View file @
b446ac6a
...
...
@@ -776,8 +776,17 @@ function showSystemError() {
$
().
toastmessage
(
'showToast'
,
{
type
:
'error'
,
sticky
:
true
,
text
:
errMes
});
text
:
errMes
,
close
:
function
()
{
//ログアウト時と同じ後始末処理をしてログイン画面に戻す
if
(
!
webLogoutEvent
()
){
//ログアウト出来なかった
SessionStorageUtils
.
clear
();
avwUserSetting
().
remove
(
Keys
.
userInfo_sid
);
avwScreenMove
(
ScreenIds
.
Login
);
}
}
});
/*
$().toastmessage('showToast', {
type: 'error',
...
...
abvw/js/header.js
View file @
b446ac6a
...
...
@@ -426,19 +426,32 @@ function historyClickFunction(){
//Web Logout Event
function
webLogoutEvent
(){
var
isExisted
=
false
;
var
params
=
{
sid
:
ClientData
.
userInfo_sid
()
};
avwCmsApiSync
(
ClientData
.
userInfo_accountPath
(),
"webLogout"
,
"GET"
,
params
,
function
(
data
)
{
isExisted
=
true
;
SessionStorageUtils
.
clear
();
avwUserSetting
().
remove
(
Keys
.
userInfo_sid
);
// Move to login screen
//window.location = ScreenIds.Login;
avwScreenMove
(
ScreenIds
.
Login
);
},
null
);
function
(
xmlHttpRequest
,
txtStatus
,
errorThrown
)
{
if
(
xmlHttpRequest
.
status
==
403
)
{
isExisted
=
false
;
}
else
{
// Show system error
isExisted
=
true
;
}
});
return
isExisted
;
};
//Logout Without Backup function
...
...
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