Commit 77c794f4 by vietdo

#18760 Web版で新コンテンツタイプの一覧表示、詳細画面を追加する

(Getitsを対応する)
parent 41b3f5cd
...@@ -2116,11 +2116,12 @@ CONTENTVIEW.displayOverlayForSpecifyContentType = function( resourceUrl ){ ...@@ -2116,11 +2116,12 @@ CONTENTVIEW.displayOverlayForSpecifyContentType = function( resourceUrl ){
} }
else if(CONTENTVIEW_GENERAL.contentType == COMMON.ContentTypeKeys.Type_PanoMovie){ else if(CONTENTVIEW_GENERAL.contentType == COMMON.ContentTypeKeys.Type_PanoMovie){
var url = ClientData.conf_apiUrl(); var url = ClientData.conf_apiUrl();
var linkUrlTmp = AVWEB.format(url, ClientData.userInfo_accountPath()); var linkUrlTmp = AVWEB.format(url, ClientData.userInfo_accountPath());
var apiUrl = linkUrlTmp + "/createSession/"; var apiUrl = linkUrlTmp + "/createSession/";
linkUrlTmp = linkUrlTmp.substring(0, linkUrlTmp.length - 6) + "shop/panorama/play/" + ClientData.contentInfo_contentId() + "/"; linkUrlTmp = linkUrlTmp.substring(0, linkUrlTmp.length - 6) + "shop/panorama/play/" + ClientData.contentInfo_contentId() + "/";
var linkUrlFinish = linkUrlTmp.substring(0, linkUrlTmp.length - 6) + "shop/panorama/finishPlay/" + ClientData.contentInfo_contentId() + "/"; if(ClientData.isGetitsMode() == true){
CONTENTVIEW.handleForContentTypePanoMovie(linkUrlTmp);
}else{
var params = { var params = {
sid: ClientData.userInfo_sid() sid: ClientData.userInfo_sid()
}; };
...@@ -2138,8 +2139,7 @@ CONTENTVIEW.displayOverlayForSpecifyContentType = function( resourceUrl ){ ...@@ -2138,8 +2139,7 @@ CONTENTVIEW.displayOverlayForSpecifyContentType = function( resourceUrl ){
xhr.setRequestHeader('X-AGT-AppVersion', sysSettings.appVersion); xhr.setRequestHeader('X-AGT-AppVersion', sysSettings.appVersion);
}, },
success: function(data) { success: function(data) {
linkUrlTmp2 = linkUrlTmp + ";jsessionid=" + data; var linkUrlTmp2 = linkUrlTmp + ";jsessionid=" + data;
console.log("linkUrlTmp2" + linkUrlTmp2);
CONTENTVIEW.handleForContentTypePanoMovie(linkUrlTmp2); CONTENTVIEW.handleForContentTypePanoMovie(linkUrlTmp2);
}, },
error: function(xmlHttpRequest, txtStatus, errorThrown) { error: function(xmlHttpRequest, txtStatus, errorThrown) {
...@@ -2148,6 +2148,7 @@ CONTENTVIEW.displayOverlayForSpecifyContentType = function( resourceUrl ){ ...@@ -2148,6 +2148,7 @@ CONTENTVIEW.displayOverlayForSpecifyContentType = function( resourceUrl ){
} }
}); });
} }
}
else if(CONTENTVIEW_GENERAL.contentType == COMMON.ContentTypeKeys.Type_Html){ else if(CONTENTVIEW_GENERAL.contentType == COMMON.ContentTypeKeys.Type_Html){
var linkUrlTmp = resourceUrl;console.log("linkUrlTmp" + linkUrlTmp); var linkUrlTmp = resourceUrl;console.log("linkUrlTmp" + linkUrlTmp);
...@@ -2240,13 +2241,6 @@ CONTENTVIEW.displayOverlayForSpecifyContentType = function( resourceUrl ){ ...@@ -2240,13 +2241,6 @@ CONTENTVIEW.displayOverlayForSpecifyContentType = function( resourceUrl ){
}); });
}; };
CONTENTVIEW.deleteCookie = function(){
var cookies = $.cookie();console.log("cookies" + cookies);
for(var cookie in cookies) {
$.removeCookie(cookie);
}
console.log("hello world!!");
}
//handle for content type = video //handle for content type = video
CONTENTVIEW.handleForContentTypeVideo = function(resourceUrl){ CONTENTVIEW.handleForContentTypeVideo = function(resourceUrl){
......
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