Commit a45bceeb by vietdo

#19267 vtour対応

parent b574efee
......@@ -2106,6 +2106,8 @@ CONTENTVIEW.displayOverlayForHtmlAndMediaType = function(){
CONTENTVIEW.panoOldContent = function(){
var oldPageNo = null;
if(ClientData.IsJumpBack() == true){
var oldDataBack = ClientData.JumpQueue();
......@@ -2119,6 +2121,8 @@ CONTENTVIEW.panoOldContent = function(){
ClientData.IsJumpBack(false);
}
}
return oldPageNo;
}
//Display overlay dialog for specify content type
......@@ -2179,13 +2183,15 @@ CONTENTVIEW.displayOverlayForSpecifyContentType = function( resourceUrl ){
CONTENTVIEW.handleForContentTypePanoMovie(linkUrlGetits);
}else{
var apiUrl = linkUrlTmp + "/createSession/";
var oldPageNo = null;
CONTENTVIEW.panoOldContent();
var oldPageNo = CONTENTVIEW.panoOldContent();
if(oldPageNo != null){
linkUrlTmp = linkUrlTmp.substring(0, linkUrlTmp.length - 6) + "shop/vtour/play/" + CONTENTVIEW_GENERAL.contentID + "/" + "?startscene=scene" + oldPageNo+"&a=1";
}else{
linkUrlTmp = linkUrlTmp.substring(0, linkUrlTmp.length - 6) + "shop/vtour/play/" + CONTENTVIEW_GENERAL.contentID + "/";
}
}
var params = {
sid: ClientData.userInfo_sid()
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment