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
20e4b873
Commit
20e4b873
authored
Mar 11, 2016
by
vietdo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#19267 vtour対応
parent
c58e8881
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
+14
-10
abvw/common/js/common.js
+1
-1
abvw/js/contentview.js
+13
-9
No files found.
abvw/common/js/common.js
View file @
20e4b873
...
...
@@ -2395,7 +2395,7 @@ COMMON.SetStartLog = function(strContentId) {
log
.
longitude
=
ClientData
.
longitude
();
// PageLog 1ページ目セット(1レコードは必須)
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_P
anoMovie
||
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_P
DF
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_NoFile
||
CONTENTVIEW_GENERAL
.
contentType
==
'panoImage'
){
var
pageLog
=
new
PageLogEntity
();
pageLog
.
contentid
=
strContentId
;
...
...
abvw/js/contentview.js
View file @
20e4b873
...
...
@@ -6154,7 +6154,6 @@ CONTENTVIEW.resvCustomLog = function(param1,param2,param3,param4,param5){
};
CONTENTVIEW
.
panoLog
=
function
(
log
,
scheme
){
console
.
log
(
"scheme:"
+
scheme
);
if
(
scheme
==
"abookdetaillog"
){
...
...
@@ -6162,8 +6161,12 @@ CONTENTVIEW.panoLog = function(log, scheme){
//Panomovieの詳細ログ作成
var
objectLog
=
new
ObjectLogEntity
();
objectLog
.
contentid
=
CONTENTVIEW_GENERAL
.
contentID
;
objectLog
.
actionDate
=
new
Date
();
objectLog
.
pageNo
=
"1"
;
objectLog
.
actionDate
=
new
Date
();
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoMovie
){
objectLog
.
pageNo
=
"1"
;
}
else
{
objectLog
.
pageNo
=
panoObjectLog
.
pageNo
;
}
objectLog
.
objectId
=
panoObjectLog
.
objectId
;
objectLog
.
resourceId
=
panoObjectLog
.
resourceId
;
objectLog
.
mediaType
=
panoObjectLog
.
mediaType
;
...
...
@@ -6175,7 +6178,7 @@ CONTENTVIEW.panoLog = function(log, scheme){
objectLog
.
locationHeight
=
panoObjectLog
.
locationHeight
;
objectLog
.
locationWidth
=
panoObjectLog
.
locationWidth
;
objectLog
.
eventType
=
panoObjectLog
.
eventType
;
COMMON
.
SetObjectLog
(
CONTENTVIEW_GENERAL
.
contentID
,
objectLog
);
}
else
if
(
scheme
==
"abookmovepage"
){
...
...
@@ -6193,7 +6196,8 @@ function receivePanoLog(e) {
var
log
=
JSON
.
parse
(
e
.
data
);
console
.
log
(
"log.scheme"
+
log
.
scheme
);
if
(
log
.
scheme
!=
undefined
){
if
(
log
.
hasOwnProperty
(
'scheme'
)){
CONTENTVIEW
.
panoLog
(
log
,
log
.
scheme
);
}
else
{
...
...
@@ -6219,7 +6223,7 @@ CONTENTVIEW.panoContentLink = function(targetContentId, page){
//既存ログを送信する
COMMON
.
SetEndLog
(
CONTENTVIEW_GENERAL
.
contentID
);
COMMON
.
RegisterLog
();
console
.
log
(
"data.contentData.alertMessageLevel:"
+
data
.
contentData
.
alertMessageLevel
);
if
(
data
.
contentData
.
alertMessageLevel
){
if
(
data
.
contentData
.
alertMessageLevel
==
CONTENTVIEW_CREATEOBJECT
.
alertMessageLevel
.
ShowAlert
){
...
...
@@ -6269,8 +6273,8 @@ CONTENTVIEW.panoContentLink = function(targetContentId, page){
}
//Type 0
else
{
ClientData
.
common_preContentId
(
c
ontentId
);
ClientData
.
common_prePageNo
(
page
No
);
ClientData
.
common_preContentId
(
targetC
ontentId
);
ClientData
.
common_prePageNo
(
page
);
/* store old page */
var
oldContent
=
{
oldContentID
:
CONTENTVIEW_GENERAL
.
contentID
,
oldPageIndex
:
CONTENTVIEW_GENERAL
.
panoPageNo
};
...
...
@@ -6278,7 +6282,7 @@ CONTENTVIEW.panoContentLink = function(targetContentId, page){
dataJump
.
push
(
oldContent
);
ClientData
.
JumpQueue
(
dataJump
);
if
(
C
ONTENTVIEW_GENERAL
.
avwUserEnvObj
.
isMobile
()
&&
C
lientData
.
isGetitsMode
())
{
if
(
ClientData
.
isGetitsMode
())
{
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
ContentViewGetits
);
}
else
{
CONTENTVIEW
.
screenMove
();
...
...
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