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
ff02a188
Commit
ff02a188
authored
Dec 04, 2015
by
vietdo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#15771 【Chrome42】CMS でオーサリングのプレビューを行うと、Web Viewer で多重ログインの問題が発生する
parent
3debc584
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
35 additions
and
13 deletions
+35
-13
abvw/common/js/avweb.js
+0
-1
abvw/common/js/common.js
+20
-1
abvw/js/contentpreview.js
+2
-2
abvw/js/contentview.js
+8
-4
abvw/js/contentview_CallApi.js
+1
-1
abvw/js/contentview_Events.js
+2
-2
abvw/js/contentview_GetData.js
+2
-2
abvw/js/home.js
+0
-0
login.html
+0
-0
No files found.
abvw/common/js/avweb.js
View file @
ff02a188
...
@@ -635,7 +635,6 @@ AVWEB.avwGrabContentPageImage = function(accountPath, params, success, error) {
...
@@ -635,7 +635,6 @@ AVWEB.avwGrabContentPageImage = function(accountPath, params, success, error) {
// API実行準備
// API実行準備
var
sysSettings
=
AVWEB
.
avwSysSetting
();
var
sysSettings
=
AVWEB
.
avwSysSetting
();
var
apiName
=
'webContentPageImage'
;
// API名
var
apiName
=
'webContentPageImage'
;
// API名
//url 構築
//url 構築
var
apiUrl
;
var
apiUrl
;
apiUrl
=
ClientData
.
conf_apiUrl
();
//sysSettings.apiUrl;
apiUrl
=
ClientData
.
conf_apiUrl
();
//sysSettings.apiUrl;
...
...
abvw/common/js/common.js
View file @
ff02a188
...
@@ -186,6 +186,7 @@ COMMON.Keys = {
...
@@ -186,6 +186,7 @@ COMMON.Keys = {
/* -------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------- */
// Session/local:ユーザ情報(userInfo)_セッションID:String
// Session/local:ユーザ情報(userInfo)_セッションID:String
userInfo_sid
:
'sid'
,
userInfo_sid
:
'sid'
,
userInfo_sid_preview
:
'sidPreview'
,
// Session :事業者オプション(serviceOpt)_初回ログイン時パスワード強制変更:Integer(0:なし, 1:催促, 2:強制)
// Session :事業者オプション(serviceOpt)_初回ログイン時パスワード強制変更:Integer(0:なし, 1:催促, 2:強制)
serviceOpt_force_pw_change_on_login
:
'force_pw_change_on_login'
,
serviceOpt_force_pw_change_on_login
:
'force_pw_change_on_login'
,
// Session :事業者オプション(serviceOpt)_定期ログイン時パスワード強制変更:Integer(0:なし, 1:催促, 2:強制)
// Session :事業者オプション(serviceOpt)_定期ログイン時パスワード強制変更:Integer(0:なし, 1:催促, 2:強制)
...
@@ -632,6 +633,13 @@ var ClientData = {
...
@@ -632,6 +633,13 @@ var ClientData = {
return
AVWEB
.
avwUserSetting
().
get
(
COMMON
.
Keys
.
userInfo_sid
);
return
AVWEB
.
avwUserSetting
().
get
(
COMMON
.
Keys
.
userInfo_sid
);
}
}
},
},
userInfo_sid_local_preview
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
AVWEB
.
avwUserSetting
().
set
(
COMMON
.
Keys
.
userInfo_sid_preview
,
data
);
}
else
{
return
AVWEB
.
avwUserSetting
().
get
(
COMMON
.
Keys
.
userInfo_sid_preview
);
}
},
// Local :ユーザ情報(userInfo)_ログインID:String
// Local :ユーザ情報(userInfo)_ログインID:String
userInfo_loginId
:
function
(
data
)
{
userInfo_loginId
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
if
(
arguments
.
length
>
0
)
{
...
@@ -1123,7 +1131,18 @@ var ClientData = {
...
@@ -1123,7 +1131,18 @@ var ClientData = {
return
null
;
return
null
;
}
}
},
},
userInfo_sid_preview
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
COMMON
.
Keys
.
userInfo_sid_preview
,
data
);
// AVWEB.avwUserSetting().set(COMMON.Keys.userInfo_sid, data);
}
else
{
// return AVWEB.avwUserSetting().get(COMMON.Keys.userInfo_sid);
if
(
AVWEB
.
avwUserSession
())
{
return
SessionStorageUtils
.
get
(
COMMON
.
Keys
.
userInfo_sid_preview
);
}
return
null
;
}
},
// Session :事業者オプション(serviceOpt)_初回ログイン時パスワード強制変更:Integer(0:なし, 1:催促, 2:強制)
// Session :事業者オプション(serviceOpt)_初回ログイン時パスワード強制変更:Integer(0:なし, 1:催促, 2:強制)
serviceOpt_force_pw_change_on_login
:
function
(
data
)
{
serviceOpt_force_pw_change_on_login
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
if
(
arguments
.
length
>
0
)
{
...
...
abvw/js/contentpreview.js
View file @
ff02a188
...
@@ -12,8 +12,8 @@ CONTENTPREVIEW.ready = function(){
...
@@ -12,8 +12,8 @@ CONTENTPREVIEW.ready = function(){
var
sid
=
COMMON
.
getUrlParam
(
'sid'
,
''
);
var
sid
=
COMMON
.
getUrlParam
(
'sid'
,
''
);
var
contentId
=
COMMON
.
getUrlParam
(
'contentId'
,
''
);
var
contentId
=
COMMON
.
getUrlParam
(
'contentId'
,
''
);
var
urlPath
=
COMMON
.
getUrlParam
(
'urlpath'
,
''
);
var
urlPath
=
COMMON
.
getUrlParam
(
'urlpath'
,
''
);
ClientData
.
userInfo_sid
(
sid
);
ClientData
.
userInfo_sid_preview
(
sid
);
ClientData
.
userInfo_sid_local
(
sid
);
ClientData
.
userInfo_sid_local_preview
(
sid
);
ClientData
.
userInfo_accountPath
(
urlPath
);
ClientData
.
userInfo_accountPath
(
urlPath
);
ClientData
.
contentInfo_contentId
(
contentId
);
ClientData
.
contentInfo_contentId
(
contentId
);
...
...
abvw/js/contentview.js
View file @
ff02a188
...
@@ -1011,9 +1011,7 @@ CONTENTVIEW.changePage = function(page_index) {
...
@@ -1011,9 +1011,7 @@ CONTENTVIEW.changePage = function(page_index) {
// Clear canvas offscreen
// Clear canvas offscreen
CONTENTVIEW_GENERAL
.
clearCanvas
(
document
.
getElementById
(
"offscreen"
));
CONTENTVIEW_GENERAL
.
clearCanvas
(
document
.
getElementById
(
"offscreen"
));
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PDF
){
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PDF
){
//console.log("CONTENTVIEW.changePage");
//console.log("CONTENTVIEW.changePage");
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
CONTENTVIEW
.
getSessionId
(),
pageNo
:
page_index
+
1
},
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
CONTENTVIEW
.
getSessionId
(),
pageNo
:
page_index
+
1
},
...
@@ -5745,7 +5743,6 @@ CONTENTVIEW.ready = function(initContentId){
...
@@ -5745,7 +5743,6 @@ CONTENTVIEW.ready = function(initContentId){
//START TRB00048 - EDITOR : Long - Date : 09/18/2013 - Summary : Fix Jumpcontent
//START TRB00048 - EDITOR : Long - Date : 09/18/2013 - Summary : Fix Jumpcontent
CONTENTVIEW_GETDATA
.
getContentID
();
CONTENTVIEW_GETDATA
.
getContentID
();
}
}
var
params
=
{
var
params
=
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
CONTENTVIEW
.
getSessionId
(),
sid
:
CONTENTVIEW
.
getSessionId
(),
...
@@ -5931,6 +5928,13 @@ CONTENTVIEW.handleDisplayMobileToolbar = function(){
...
@@ -5931,6 +5928,13 @@ CONTENTVIEW.handleDisplayMobileToolbar = function(){
CONTENTVIEW
.
getSessionId
=
function
(){
CONTENTVIEW
.
getSessionId
=
function
(){
if
(
COMMON
.
isAuthoringPreview
()){
if
(
ClientData
.
userInfo_sid_local_preview
()){
return
ClientData
.
userInfo_sid_local_preview
();
}
else
{
return
ClientData
.
userInfo_sid_preview
();
}
}
else
{
if
(
ClientData
.
userInfo_sid_local
())
{
if
(
ClientData
.
userInfo_sid_local
())
{
return
ClientData
.
userInfo_sid_local
();
return
ClientData
.
userInfo_sid_local
();
}
else
if
(
ClientData
.
userInfo_sid_local_bak
())
{
}
else
if
(
ClientData
.
userInfo_sid_local_bak
())
{
...
@@ -5938,7 +5942,7 @@ CONTENTVIEW.getSessionId = function(){
...
@@ -5938,7 +5942,7 @@ CONTENTVIEW.getSessionId = function(){
}
else
{
}
else
{
return
ClientData
.
userInfo_sid
();
return
ClientData
.
userInfo_sid
();
}
}
}
};
};
CONTENTVIEW
.
resvCustomLog
=
function
(
param1
,
param2
,
param3
,
param4
,
param5
){
CONTENTVIEW
.
resvCustomLog
=
function
(
param1
,
param2
,
param3
,
param4
,
param5
){
...
...
abvw/js/contentview_CallApi.js
View file @
ff02a188
...
@@ -12,7 +12,7 @@ CONTENTVIEW_CALLAPI.getJsonContentInfo = function( doneFunc ) {
...
@@ -12,7 +12,7 @@ CONTENTVIEW_CALLAPI.getJsonContentInfo = function( doneFunc ) {
//console.log("CONTENTVIEW_CALLAPI.getJsonContentInfo");
//console.log("CONTENTVIEW_CALLAPI.getJsonContentInfo");
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
ClientData
.
userInfo_si
d
(),
pageNo
:
1
},
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
CONTENTVIEW
.
getSessionI
d
(),
pageNo
:
1
},
function
(
data
)
{
function
(
data
)
{
CONTENTVIEW_GENERAL
.
pageImages
=
data
;
CONTENTVIEW_GENERAL
.
pageImages
=
data
;
CONTENTVIEW_CALLAPI
.
getJsonContentInfoDone
(
doneFunc
);
CONTENTVIEW_CALLAPI
.
getJsonContentInfoDone
(
doneFunc
);
...
...
abvw/js/contentview_Events.js
View file @
ff02a188
...
@@ -365,7 +365,7 @@ CONTENTVIEW_EVENTS.firstPage_click = function() {
...
@@ -365,7 +365,7 @@ CONTENTVIEW_EVENTS.firstPage_click = function() {
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PDF
){
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PDF
){
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
ClientData
.
userInfo_si
d
(),
pageNo
:
1
},
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
CONTENTVIEW
.
getSessionI
d
(),
pageNo
:
1
},
function
(
data
)
{
function
(
data
)
{
CONTENTVIEW_GENERAL
.
pageImages
=
data
;
CONTENTVIEW_GENERAL
.
pageImages
=
data
;
...
@@ -435,7 +435,7 @@ CONTENTVIEW_EVENTS.lastPage_click = function() {
...
@@ -435,7 +435,7 @@ CONTENTVIEW_EVENTS.lastPage_click = function() {
AVWEB
.
avwGrabContentPageImage
(
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
ClientData
.
userInfo_accountPath
(),
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
ClientData
.
userInfo_si
d
(),
pageNo
:
CONTENTVIEW_GENERAL
.
totalPage
},
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
CONTENTVIEW
.
getSessionI
d
(),
pageNo
:
CONTENTVIEW_GENERAL
.
totalPage
},
function
(
data
)
{
function
(
data
)
{
CONTENTVIEW_GENERAL
.
pageImages
=
data
;
CONTENTVIEW_GENERAL
.
pageImages
=
data
;
/* get page Objects */
/* get page Objects */
...
...
abvw/js/contentview_GetData.js
View file @
ff02a188
...
@@ -1373,7 +1373,7 @@ CONTENTVIEW_GETDATA.renderNextPage = function(){
...
@@ -1373,7 +1373,7 @@ CONTENTVIEW_GETDATA.renderNextPage = function(){
//console.log("CONTENTVIEW_GETDATA.renderNextPage");
//console.log("CONTENTVIEW_GETDATA.renderNextPage");
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
ClientData
.
userInfo_si
d
(),
pageNo
:
pageNo
},
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
CONTENTVIEW
.
getSessionI
d
(),
pageNo
:
pageNo
},
function
(
data
)
{
function
(
data
)
{
CONTENTVIEW_GENERAL
.
nextPageImage
=
data
;
CONTENTVIEW_GENERAL
.
nextPageImage
=
data
;
...
@@ -1410,7 +1410,7 @@ CONTENTVIEW_GETDATA.renderPrevPage = function(){
...
@@ -1410,7 +1410,7 @@ CONTENTVIEW_GETDATA.renderPrevPage = function(){
//console.log("CONTENTVIEW_GETDATA.renderPrevPage");
//console.log("CONTENTVIEW_GETDATA.renderPrevPage");
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
ClientData
.
userInfo_si
d
(),
pageNo
:
pageNo
},
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
CONTENTVIEW
.
getSessionI
d
(),
pageNo
:
pageNo
},
function
(
data
)
{
function
(
data
)
{
CONTENTVIEW_GENERAL
.
prevPageImage
=
data
;
CONTENTVIEW_GENERAL
.
prevPageImage
=
data
;
CONTENTVIEW_GENERAL
.
prevContent
.
setPageImages
(
CONTENTVIEW_GENERAL
.
totalPage
,
CONTENTVIEW_GENERAL
.
prevPageImage
)
CONTENTVIEW_GENERAL
.
prevContent
.
setPageImages
(
CONTENTVIEW_GENERAL
.
totalPage
,
CONTENTVIEW_GENERAL
.
prevPageImage
)
...
...
abvw/js/home.js
View file @
ff02a188
login.html
View file @
ff02a188
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