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
aceb8585
Commit
aceb8585
authored
Feb 04, 2015
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PSTC カスタムURI起動対応
parent
1d969a76
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
115 additions
and
75 deletions
+115
-75
abvw/common/js/avweb.js
+7
-5
abvw/common/js/common.js
+17
-3
abvw/js/contentview.js
+17
-5
abvw/js/contentview_Anket.js
+1
-1
abvw/js/contentview_CallApi.js
+12
-12
abvw/js/contentview_CreateObjects.js
+4
-4
abvw/js/contentview_Events.js
+5
-5
abvw/js/contentview_GetData.js
+29
-29
abvw/js/header.js
+1
-0
abvw/js/login.js
+22
-11
No files found.
abvw/common/js/avweb.js
View file @
aceb8585
...
...
@@ -125,9 +125,9 @@ UserSetting.prototype.load = function () {
};
/* store user setting */
UserSetting
.
prototype
.
set
=
function
(
key
,
value
)
{
if
(
!
this
.
userSetting
)
{
//
if(!this.userSetting) {
this
.
userSetting
=
this
.
load
();
}
//
}
var
values
=
this
.
userSetting
;
if
(
!
values
)
{
values
=
{
key
:
value
};
...
...
@@ -143,9 +143,9 @@ UserSetting.prototype.set = function(key, value) {
};
/* grab user setting */
UserSetting
.
prototype
.
get
=
function
(
key
)
{
if
(
!
this
.
userSetting
)
{
//
if(!this.userSetting) {
this
.
userSetting
=
this
.
load
();
}
//
}
var
values
=
this
.
userSetting
;
if
(
values
)
{
return
values
[
key
];
...
...
@@ -659,7 +659,7 @@ AVWEB.avwGrabContentPageImage = function(accountPath, params, success, error) {
if
(
error
)
{
error
(
xmlHttp
,
xmlHttp
.
status
,
xmlHttp
.
statusText
);
}
else
{
console
.
log
(
xmlHttp
.
status
+
' '
+
xmlHttp
.
statusText
);
//
console.log(xmlHttp.status + ' ' + xmlHttp.statusText);
}
}
}
...
...
@@ -803,7 +803,9 @@ AVWEB.showSystemError = function() {
if
(
!
HEADER
.
webLogoutEvent
()
){
//ログアウト出来なかった
SessionStorageUtils
.
clear
();
//カスタムURI起動対応のため sidのバックアップは消さない
AVWEB
.
avwUserSetting
().
remove
(
COMMON
.
Keys
.
userInfo_sid
);
//AVWEB.avwUserSetting().remove(COMMON.Keys.userInfo_sid_bak);
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
Login
);
}
}
...
...
abvw/common/js/common.js
View file @
aceb8585
...
...
@@ -183,7 +183,7 @@ COMMON.Keys = {
requirePasswordChange
:
'requirePasswordChange'
,
/* -------------------------------------------------------------------------------- */
// Session:ユーザ情報(userInfo)_セッションID:String
// Session
/local
:ユーザ情報(userInfo)_セッションID:String
userInfo_sid
:
'sid'
,
// Session :事業者オプション(serviceOpt)_初回ログイン時パスワード強制変更:Integer(0:なし, 1:催促, 2:強制)
serviceOpt_force_pw_change_on_login
:
'force_pw_change_on_login'
,
...
...
@@ -359,7 +359,11 @@ COMMON.Keys = {
storeUrl
:
'storeUrl'
,
latitude
:
'latitude'
,
longitude
:
'longitude'
longitude
:
'longitude'
,
// Local:セッションID:String
userInfo_sid_bak
:
'sid_bak'
/* -------------------------------------------------------------------------------- */
};
...
...
@@ -1148,7 +1152,7 @@ var ClientData = {
userInfo_sid
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
COMMON
.
Keys
.
userInfo_sid
,
data
);
AVWEB
.
avwUserSetting
().
set
(
COMMON
.
Keys
.
userInfo_sid
,
data
);
//
AVWEB.avwUserSetting().set(COMMON.Keys.userInfo_sid, data);
}
else
{
//return AVWEB.avwUserSetting().get(COMMON.Keys.userInfo_sid);
if
(
AVWEB
.
avwUserSession
())
{
...
...
@@ -1693,8 +1697,18 @@ var ClientData = {
}
else
{
return
SessionStorageUtils
.
get
(
COMMON
.
Keys
.
longitude
);
}
},
// Local: セッションIDのバックアップ
userInfo_sid_local_bak
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
AVWEB
.
avwUserSetting
().
set
(
COMMON
.
Keys
.
userInfo_sid_bak
,
data
);
}
else
{
return
AVWEB
.
avwUserSetting
().
get
(
COMMON
.
Keys
.
userInfo_sid_bak
);
}
}
};
// -------------------------------------------------
...
...
abvw/js/contentview.js
View file @
aceb8585
...
...
@@ -963,7 +963,7 @@ CONTENTVIEW.changePage = function(page_index) {
//console.log("CONTENTVIEW.changePage");
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
pageNo
:
page_index
+
1
},
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
pageNo
:
page_index
+
1
},
function
(
data
)
{
CONTENTVIEW_GENERAL
.
pageImages
=
data
;
...
...
@@ -1880,7 +1880,7 @@ CONTENTVIEW.changePageWithoutSlide = function(pageMove) {
//console.log("CONTENTVIEW.changePageWithoutSlide");
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
pageNo
:
pageMove
+
1
},
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
pageNo
:
pageMove
+
1
},
function
(
data
)
{
CONTENTVIEW_GENERAL
.
pageImages
=
data
;
...
...
@@ -2056,7 +2056,7 @@ CONTENTVIEW.displayOverlayForSpecifyContentType = function(){
//DHカスタム
if
(
ClientData
.
serviceOpt_daihatsu
()
==
'Y'
){
var
apiUrl
=
AVWEB
.
getApiUrl
(
ClientData
.
userInfo_accountPath
());
linkUrlTmp
=
linkUrlTmp
+
"?sid="
+
C
lientData
.
userInfo_si
d
()
+
"&apiurl="
+
apiUrl
;
linkUrlTmp
=
linkUrlTmp
+
"?sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&apiurl="
+
apiUrl
;
}
CONTENTVIEW
.
handleForContentTypeHTML
(
linkUrlTmp
);
}
...
...
@@ -2436,7 +2436,7 @@ CONTENTVIEW.originalScreenForNotPdfType = function(){
//Get resource Id of content
CONTENTVIEW
.
downloadResourceById
=
function
(
contentId
){
var
params
=
{
sid
:
C
lientData
.
userInfo_si
d
(),
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
contentId
:
contentId
,
getType
:
'2'
,
isStreaming
:
ClientData
.
isStreamingMode
()
...
...
@@ -5271,6 +5271,18 @@ CONTENTVIEW.handleDisplayMobileToolbar = function(){
};
CONTENTVIEW
.
getSessionId
=
function
(){
if
(
ClientData
.
userInfo_sid_local
())
{
return
ClientData
.
userInfo_sid_local
();
}
else
if
(
ClientData
.
userInfo_sid_local_bak
())
{
return
ClientData
.
userInfo_sid_local_bak
();
}
else
{
return
ClientData
.
userInfo_sid
();
}
};
$
(
"document"
).
ready
(
function
()
{
//CONTENTVIEW.ready = function(){
...
...
@@ -5334,7 +5346,7 @@ $("document").ready(function () {
var
params
=
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
getType
:
1
,
isStreaming
:
ClientData
.
isStreamingMode
()
};
...
...
abvw/js/contentview_Anket.js
View file @
aceb8585
...
...
@@ -6,7 +6,7 @@ var CONTENTVIEW_ANKET = {};
CONTENTVIEW_ANKET
.
showAnket
=
function
(
url
,
fullscreen
,
objectId
)
{
var
$container
=
$
(
'#dialog'
);
//url = url + "?sid=" + C
lientData.userInfo_si
d();
//url = url + "?sid=" + C
ONTENTVIEW.getSessionI
d();
$container
.
html
(
''
);
$container
.
addClass
(
'anket-dialog'
);
...
...
abvw/js/contentview_CallApi.js
View file @
aceb8585
...
...
@@ -13,7 +13,7 @@ CONTENTVIEW_CALLAPI.getJsonContentInfo = function() {
//console.log("CONTENTVIEW_CALLAPI.getJsonContentInfo");
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
pageNo
:
1
},
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
pageNo
:
1
},
function
(
data
)
{
CONTENTVIEW_GENERAL
.
pageImages
=
data
;
CONTENTVIEW_CALLAPI
.
webGetContentData
();
...
...
@@ -37,14 +37,14 @@ CONTENTVIEW_CALLAPI.webGetPageImageContentSize = function() {
var
params
=
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
isStreaming
:
ClientData
.
isStreamingMode
()
};
AVWEB
.
avwCmsApi
(
ClientData
.
userInfo_accountPath
(),
"webContentPageSize"
,
"GET"
,
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
()
},
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
ONTENTVIEW
.
getSessionI
d
()
},
function
(
data
)
{
CONTENTVIEW_GENERAL
.
widthContentImage
=
data
.
width
;
CONTENTVIEW_GENERAL
.
heightContentImage
=
data
.
height
;
...
...
@@ -57,7 +57,7 @@ CONTENTVIEW_CALLAPI.webGetContentPageSize = function(){
var
params
=
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
getType
:
6
,
isStreaming
:
ClientData
.
isStreamingMode
()
};
...
...
@@ -98,7 +98,7 @@ CONTENTVIEW_CALLAPI.webGetContentData = function() {
var
params
=
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
getType
:
1
,
isStreaming
:
ClientData
.
isStreamingMode
()
};
...
...
@@ -118,7 +118,7 @@ CONTENTVIEW_CALLAPI.getJsonDataPageTitle = function() {
var
params
=
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
getType
:
3
,
isStreaming
:
ClientData
.
isStreamingMode
()
};
...
...
@@ -147,7 +147,7 @@ CONTENTVIEW_CALLAPI.getJsonDataType4 = function() {
var
params
=
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
getType
:
4
,
isStreaming
:
ClientData
.
isStreamingMode
()
};
...
...
@@ -167,7 +167,7 @@ CONTENTVIEW_CALLAPI.getJsonDataType5 = function() {
var
params
=
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
getType
:
5
,
isStreaming
:
ClientData
.
isStreamingMode
()
};
...
...
@@ -187,7 +187,7 @@ CONTENTVIEW_CALLAPI.getDataJsonFile = function() {
var
params
=
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
getType
:
2
,
isStreaming
:
ClientData
.
isStreamingMode
()
};
...
...
@@ -267,7 +267,7 @@ CONTENTVIEW_CALLAPI.loadDataBookmark = function(lstPageNo) {
var
params
=
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
pageNos
:
lstPageNo
[
0
],
thumbnailFlg
:
1
,
isStreaming
:
ClientData
.
isStreamingMode
()
...
...
@@ -330,7 +330,7 @@ CONTENTVIEW_CALLAPI.getSearchDataFromJson = function() {
var
params
=
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
thumbnailFlg
:
0
,
isStreaming
:
ClientData
.
isStreamingMode
()
};
...
...
@@ -353,7 +353,7 @@ CONTENTVIEW_CALLAPI.loadDataSearch = function(lstPageNo) {
var
params
=
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
pageNos
:
lstPageNo
[
0
],
thumbnailFlg
:
1
,
isStreaming
:
ClientData
.
isStreamingMode
()
...
...
abvw/js/contentview_CreateObjects.js
View file @
aceb8585
...
...
@@ -943,7 +943,7 @@ CONTENTVIEW_CREATEOBJECT.anket = function (mediaType, actionType, id, imageUrl,
/*stop audio on page */
CONTENTVIEW
.
stopAllAudio
();
var
url
=
CONTENTVIEW_GETDATA
.
getURLPageImage
(
"webEnqueteReply/init"
)
+
"/?abObjectId="
+
objectId
+
"&sid="
+
C
lientData
.
userInfo_si
d
();
var
url
=
CONTENTVIEW_GETDATA
.
getURLPageImage
(
"webEnqueteReply/init"
)
+
"/?abObjectId="
+
objectId
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
();
if
(
ClientData
.
isStreamingMode
()){
//ストリーミング
url
=
url
+
"&isStreaming=true"
;
...
...
@@ -1166,7 +1166,7 @@ CONTENTVIEW_CREATEOBJECT.moveToContent = function (mediaType, actionType, id, im
var
params
=
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
getType
:
1
,
isStreaming
:
ClientData
.
isStreamingMode
()
};
...
...
@@ -1371,7 +1371,7 @@ CONTENTVIEW_CREATEOBJECT.createPwdRequiredTypeDialog = function(){
// start login
var
params
=
{
previousSid
:
C
lientData
.
userInfo_si
d
(),
previousSid
:
C
ONTENTVIEW
.
getSessionI
d
(),
loginId
:
ClientData
.
userInfo_loginId_session
(),
password
:
password
,
urlpath
:
ClientData
.
userInfo_accountPath
()
...
...
@@ -1654,7 +1654,7 @@ CONTENTVIEW_CREATEOBJECT.linkURL = function (mediaType, actionType, id, imageUrl
//DHカスタム
if
(
ClientData
.
serviceOpt_daihatsu
()
==
'Y'
){
var
apiUrl
=
AVWEB
.
getApiUrl
(
ClientData
.
userInfo_accountPath
());
linkUrlTmp
=
linkUrlTmp
+
"?sid="
+
C
lientData
.
userInfo_si
d
()
+
"&apiurl="
+
apiUrl
;
linkUrlTmp
=
linkUrlTmp
+
"?sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&apiurl="
+
apiUrl
;
}
if
(
browserType
==
0
){
...
...
abvw/js/contentview_Events.js
View file @
aceb8585
...
...
@@ -389,7 +389,7 @@ CONTENTVIEW_EVENTS.firstPage_click = function() {
//console.log("CONTENTVIEW_EVENTS.firstPage_click");
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
pageNo
:
1
},
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
pageNo
:
1
},
function
(
data
)
{
CONTENTVIEW_GENERAL
.
pageImages
=
data
;
...
...
@@ -456,13 +456,13 @@ CONTENTVIEW_EVENTS.lastPage_click = function() {
// Clear canvas offscreen
CONTENTVIEW_GENERAL
.
clearCanvas
(
document
.
getElementById
(
"offscreen"
));
//CONTENTVIEW_GENERAL.pageImages = CONTENTVIEW_GETDATA.getURLPageImage("webContentPageImage") + "?contentId=" + CONTENTVIEW_GENERAL.contentID + "&sid=" + C
lientData.userInfo_si
d() + "&pageNo=" + (CONTENTVIEW_GENERAL.totalPage - 1);
//CONTENTVIEW_GENERAL.pageImages = CONTENTVIEW_GETDATA.getURLPageImage("webContentPageImage") + "?contentId=" + CONTENTVIEW_GENERAL.contentID + "&sid=" + C
ONTENTVIEW.getSessionI
d() + "&pageNo=" + (CONTENTVIEW_GENERAL.totalPage - 1);
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PDF
){
//console.log("CONTENTVIEW_EVENTS.lastPage_click");
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
pageNo
:
CONTENTVIEW_GENERAL
.
totalPage
},
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
pageNo
:
CONTENTVIEW_GENERAL
.
totalPage
},
function
(
data
)
{
CONTENTVIEW_GENERAL
.
pageImages
=
data
;
...
...
@@ -680,11 +680,11 @@ CONTENTVIEW_EVENTS.update3DImagesArr = function(){
var
tempX
=
object3d
[
"x"
];
var
tempY
=
object3d
[
"y"
];
tempInitImage
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
COMMON
.
getUrlParam
(
'resourceId'
,
tempInitImage
);
tempInitImage
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
COMMON
.
getUrlParam
(
'resourceId'
,
tempInitImage
);
for
(
var
j
=
0
;
j
<
temp3dview
.
length
;
j
++
){
var
url
=
temp3dview
[
j
];
var
id
=
COMMON
.
getUrlParam
(
'resourceId'
,
url
);
temp3dview
[
j
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
id
;
temp3dview
[
j
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
id
;
}
var
arr3D
=
[];
...
...
abvw/js/contentview_GetData.js
View file @
aceb8585
...
...
@@ -119,7 +119,7 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
/*get mediaInfo */
if
(
iValueObj
.
mediaInfo
)
{
/* get image from Json */
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
}
else
{
pageObject
[
'imageUrl'
]
=
null
;
}
...
...
@@ -127,14 +127,14 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
/*get mediaInfo */
if
(
iValueObj
.
mediaInfo
)
{
/* get image from Json */
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
}
else
{
pageObject
[
'imageUrl'
]
=
null
;
}
/*get video file */
if
(
iValueObj
.
action
.
video
)
{
pageObject
[
'mediaFile'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceName="
+
COMMON
.
removeExt
(
iValueObj
.
action
.
video
);
pageObject
[
'mediaFile'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceName="
+
COMMON
.
removeExt
(
iValueObj
.
action
.
video
);
pageObject
[
'media'
]
=
iValueObj
.
action
.
video
;
pageObject
[
'mediaResourceId'
]
=
iValueObj
.
action
.
resourceId
;
}
else
{
...
...
@@ -147,7 +147,7 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
/*get mediaInfo */
if
(
iValueObj
.
mediaInfo
)
{
/* get image from Json */
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
}
else
{
pageObject
[
'imageUrl'
]
=
null
;
}
...
...
@@ -155,9 +155,9 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
/*get video file */
if
(
iValueObj
.
action
.
music
)
{
if
(
CONTENTVIEW_GENERAL
.
avwUserEnvObj
.
browser
==
'msie'
)
{
pageObject
[
'audioFile'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceName="
+
COMMON
.
removeExt
(
iValueObj
.
action
.
music
)
+
"&isIE=true"
;
pageObject
[
'audioFile'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceName="
+
COMMON
.
removeExt
(
iValueObj
.
action
.
music
)
+
"&isIE=true"
;
}
else
{
pageObject
[
'audioFile'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceName="
+
COMMON
.
removeExt
(
iValueObj
.
action
.
music
);
pageObject
[
'audioFile'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceName="
+
COMMON
.
removeExt
(
iValueObj
.
action
.
music
);
}
pageObject
[
'audio'
]
=
iValueObj
.
action
.
music
;
pageObject
[
'audioResourceId'
]
=
iValueObj
.
action
.
resourceId
;
...
...
@@ -192,7 +192,7 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
/*get mediaInfo */
if
(
iValueObj
.
mediaInfo
)
{
/* get image from Json */
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
}
else
{
pageObject
[
'imageUrl'
]
=
null
;
}
...
...
@@ -204,7 +204,7 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
/*get mediaInfo */
if
(
iValueObj
.
mediaInfo
.
resourceId
)
{
/* get image from Json */
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
}
else
{
pageObject
[
'imageUrl'
]
=
null
;
}
...
...
@@ -216,7 +216,7 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
//START TRB00077 - Editor : Long - Date: 09/24/2013- Summary : Display image preview no image
if
(
dataResourceImage
){
for
(
var
nIndex
=
0
;
nIndex
<
dataResourceImage
.
length
;
nIndex
++
)
{
dataImageFromResource
.
push
(
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceName="
+
COMMON
.
removeExt
(
dataResourceImage
[
nIndex
]));
dataImageFromResource
.
push
(
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceName="
+
COMMON
.
removeExt
(
dataResourceImage
[
nIndex
]));
}
pageObject
[
'imagePreviewResourceIds'
]
=
iValueObj
.
action
.
resourceIds
;
}
...
...
@@ -227,7 +227,7 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
/*get mediaInfo */
if
(
iValueObj
.
mediaInfo
.
resourceId
)
{
/* get image from Json */
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
}
else
{
pageObject
[
'imageUrl'
]
=
null
;
}
...
...
@@ -244,7 +244,7 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
/*get mediaInfo */
if
(
iValueObj
.
mediaInfo
.
resourceId
)
{
/* get image from Json */
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
}
else
{
pageObject
[
'imageUrl'
]
=
null
;
}
...
...
@@ -268,7 +268,7 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
/*get mediaInfo */
if
(
iValueObj
.
mediaInfo
.
resourceId
)
{
/* get image from Json */
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
}
else
{
pageObject
[
'imageUrl'
]
=
null
;
}
...
...
@@ -280,7 +280,7 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
/*get mediaInfo */
if
(
iValueObj
.
mediaInfo
.
resourceId
)
{
/* get image from Json */
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
}
else
{
pageObject
[
'imageUrl'
]
=
null
;
}
...
...
@@ -309,7 +309,7 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
//DHカスタム
if
(
ClientData
.
serviceOpt_daihatsu
()
==
'Y'
){
var
apiUrl
=
AVWEB
.
getApiUrl
(
ClientData
.
userInfo_accountPath
());
resourceUrl
=
resourceUrl
+
"?sid="
+
C
lientData
.
userInfo_si
d
()
+
"&apiurl="
+
apiUrl
;
resourceUrl
=
resourceUrl
+
"?sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&apiurl="
+
apiUrl
;
}
break
;
}
...
...
@@ -319,12 +319,12 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
//CONTENTVIEW_STREAMING.debugLog("resourceUrl:" + obj.resourceUrl);
pageObject
[
"imageUrl"
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
"imageUrl"
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
"resourceUrl"
]
=
resourceUrl
;
}
else
if
(
iValueObj
.
action
.
actionType
==
12
){
pageObject
[
"imageUrl"
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
"imageUrl"
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
"resourceUrl"
]
=
resourceUrl
;
pageObject
[
"questionNo"
]
=
iValueObj
.
action
.
questionNo
;
...
...
@@ -355,7 +355,7 @@ CONTENTVIEW_GETDATA.getMediaType2 = function(iValueObj) {
/*get mediaInfo */
if
(
iValueObj
.
mediaInfo
.
resourceId
)
{
pageObject
[
'mediaFile'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
'mediaFile'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
'media'
]
=
iValueObj
.
mediaInfo
.
resourceId
;
//video1のほうはリソース名で取得している。IDのほうが良いのでは。
}
else
{
pageObject
[
'mediaFile'
]
=
''
;
...
...
@@ -405,9 +405,9 @@ CONTENTVIEW_GETDATA.getMediaType3 = function(iValueObj) {
/*get mediaInfo */
if
(
iValueObj
.
mediaInfo
.
resourceId
)
{
if
(
CONTENTVIEW_GENERAL
.
avwUserEnvObj
.
browser
==
'msie'
)
{
pageObject
[
'audioFile'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
+
"&isIE=true"
;
pageObject
[
'audioFile'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
+
"&isIE=true"
;
}
else
{
pageObject
[
'audioFile'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
'audioFile'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
}
pageObject
[
'audioResourceId'
]
=
iValueObj
.
mediaInfo
.
resourceId
;
}
else
{
...
...
@@ -449,7 +449,7 @@ CONTENTVIEW_GETDATA.getMediaType4 = function(iValueObj) {
for
(
var
nIndex
=
0
;
nIndex
<
imageObjects
.
length
;
nIndex
++
)
{
/* get image from Json */
imageObjects
[
nIndex
].
fileName
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
imageObjects
[
nIndex
].
resourceId
;
imageObjects
[
nIndex
].
fileName
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
imageObjects
[
nIndex
].
resourceId
;
}
pageObject
[
'dataObjects'
]
=
imageObjects
;
...
...
@@ -496,7 +496,7 @@ CONTENTVIEW_GETDATA.getMediaType5 = function(iValueObj) {
var
videoObjects
=
iValueObj
.
mediaInfo
.
media
;
for
(
var
nIndex
=
0
;
nIndex
<
videoObjects
.
length
;
nIndex
++
)
{
/* get image from Json */
videoObjects
[
nIndex
].
fileName
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
videoObjects
[
nIndex
].
resourceId
;
videoObjects
[
nIndex
].
fileName
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
videoObjects
[
nIndex
].
resourceId
;
}
pageObject
[
'dataObjects'
]
=
videoObjects
;
...
...
@@ -546,7 +546,7 @@ CONTENTVIEW_GETDATA.getMediaType6 = function(iValueObj) {
if
(
iValueObj
.
mediaInfo
.
resourceId
){
/* get image from Json */
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
'imageUrl'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
}
else
{
pageObject
[
'imageUrl'
]
=
'img/iPad_video.png'
;
...
...
@@ -652,7 +652,7 @@ CONTENTVIEW_GETDATA.getMediaType8 = function(iValueObj) {
pageObject
[
'horizonCount'
]
=
iValueObj
.
mediaInfo
.
horizonCount
;
pageObject
[
'verticalCount'
]
=
iValueObj
.
mediaInfo
.
verticalCount
;
pageObject
[
'initImage'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
pageObject
[
'initImage'
]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
iValueObj
.
mediaInfo
.
resourceId
;
var
_3dViewObject
=
[];
var
data3d
=
iValueObj
.
action
[
"3dview"
];
...
...
@@ -672,7 +672,7 @@ CONTENTVIEW_GETDATA.getMediaType8 = function(iValueObj) {
}
_3dViewObject
[
CONTENTVIEW_GETDATA
.
convNumTo2Char
(
verticalCnt
)
+
"-"
+
CONTENTVIEW_GETDATA
.
convNumTo2Char
(
horizonCnt
)]
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
data3d
[
CONTENTVIEW_GETDATA
.
convNumTo2Char
(
verticalCnt
)
+
"-"
+
CONTENTVIEW_GETDATA
.
convNumTo2Char
(
horizonCnt
)].
resourceId
;
}
...
...
@@ -725,7 +725,7 @@ CONTENTVIEW_GETDATA.getMediaType9 = function(iValueObj) {
//DHカスタム
if
(
ClientData
.
serviceOpt_daihatsu
()
==
'Y'
){
var
apiUrl
=
AVWEB
.
getApiUrl
(
ClientData
.
userInfo_accountPath
());
resourceUrl
=
resourceUrl
+
"?sid="
+
C
lientData
.
userInfo_si
d
()
+
"&apiurl="
+
apiUrl
;
resourceUrl
=
resourceUrl
+
"?sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&apiurl="
+
apiUrl
;
}
break
;
}
...
...
@@ -1046,7 +1046,7 @@ CONTENTVIEW_GETDATA.getContentID = function() {
//Download resource
CONTENTVIEW_GETDATA
.
getResourceByIdFromAPI
=
function
(
resourceId
){
return
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
lientData
.
userInfo_si
d
()
+
"&resourceId="
+
resourceId
;
return
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"&sid="
+
C
ONTENTVIEW
.
getSessionI
d
()
+
"&resourceId="
+
resourceId
;
};
//Get content info type Image
...
...
@@ -1137,7 +1137,7 @@ CONTENTVIEW_GETDATA.getContentInfoTypeImage = function(){
CONTENTVIEW_GETDATA
.
getContentDataForImageType
=
function
(){
var
params
=
{
sid
:
C
lientData
.
userInfo_si
d
(),
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
getType
:
'1'
,
isStreaming
:
ClientData
.
isStreamingMode
()
...
...
@@ -1215,7 +1215,7 @@ CONTENTVIEW_GETDATA.renderNextPage = function(){
//console.log("CONTENTVIEW_GETDATA.renderNextPage");
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
pageNo
:
pageNo
},
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
pageNo
:
pageNo
},
function
(
data
)
{
CONTENTVIEW_GENERAL
.
nextPageImage
=
data
;
...
...
@@ -1250,7 +1250,7 @@ CONTENTVIEW_GETDATA.renderPrevPage = function(){
//console.log("CONTENTVIEW_GETDATA.renderPrevPage");
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
lientData
.
userInfo_si
d
(),
pageNo
:
pageNo
},
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
C
ONTENTVIEW
.
getSessionI
d
(),
pageNo
:
pageNo
},
function
(
data
)
{
CONTENTVIEW_GENERAL
.
prevPageImage
=
data
;
...
...
abvw/js/header.js
View file @
aceb8585
...
...
@@ -435,6 +435,7 @@ HEADER.webLogoutEvent = function(){
isExisted
=
true
;
SessionStorageUtils
.
clear
();
AVWEB
.
avwUserSetting
().
remove
(
COMMON
.
Keys
.
userInfo_sid
);
AVWEB
.
avwUserSetting
().
remove
(
COMMON
.
Keys
.
userInfo_sid_bak
);
// Move to login screen
//window.location = COMMON.ScreenIds.Login;
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
Login
);
...
...
abvw/js/login.js
View file @
aceb8585
...
...
@@ -68,6 +68,9 @@ LOGIN.saveLoginInfo = function() {
ClientData
.
userInfo_lastLoginTime
(
date
.
jpDateTimeString
());
ClientData
.
userInfo_sid_local
(
LOGIN
.
userinfo_sid
);
//バックアップにも保持
ClientData
.
userInfo_sid_local_bak
(
LOGIN
.
userinfo_sid
);
LOGIN
.
saveServiceUserOption
();
//ページジャンプ設定をクリア
...
...
@@ -156,20 +159,27 @@ LOGIN.processLogin = function() {
previousSid
:
''
,
loginId
:
loginId
,
password
:
password
,
urlpath
:
accountPath
urlpath
:
accountPath
,
};
// Set sid for login, this will be checked authoring 2 sessions
if
(
ClientData
.
userInfo_sid_local
())
{
params
.
previousSid
=
ClientData
.
userInfo_sid_local
();
}
//引数パラメータがあれば取得
var
paramContentID
=
COMMON
.
getUrlParam
(
'cid'
,
''
);
// Set sid for login, this will be checked authoring 2 sessions
if
(
ClientData
.
userInfo_sid_local
())
{
params
.
previousSid
=
ClientData
.
userInfo_sid_local
();
}
else
{
//OpenUrlでコンテンツ開く場合
if
(
paramContentID
!=
''
){
if
(
ClientData
.
userInfo_sid_local_bak
())
{
params
.
previousSid
=
ClientData
.
userInfo_sid_local_bak
();
}
}
}
// Get url to login
var
apiLoginUrl
=
ClientData
.
conf_apiLoginUrl
();
//sysSettings.apiLoginUrl;
//引数パラメータがあれば取得
var
paramContentID
=
COMMON
.
getUrlParam
(
'cid'
,
''
);
AVWEB
.
avwCmsApiWithUrl
(
apiLoginUrl
,
null
,
'webClientLogin'
,
'GET'
,
params
,
function
(
data
)
{
LOGIN
.
userinfo_sid
=
data
.
sid
;
LOGIN
.
userInfo_userName
=
data
.
userName
;
...
...
@@ -643,7 +653,7 @@ LOGIN.initLoginAnonymousUser = function() {
// init login for getits user
LOGIN
.
initLoginGetitsUser
=
function
()
{
console
.
log
(
"LOGIN.initLoginGetitsUser"
);
//
console.log("LOGIN.initLoginGetitsUser");
document
.
title
=
I18N
.
i18nText
(
'dspLogin'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
...
...
@@ -898,3 +908,4 @@ LOGIN.ready = 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