Commit 59781e32 by Ha Jonguk

チェックボタン機能追加によるコンテンツウェブビュー(preview)対応

parent ad992544
......@@ -3107,7 +3107,19 @@ CONTENTVIEW.ContentPage.prototype.addPageObjects = function (pageObjects) {
obj.enquete,
obj.objectId
);
}
} else if (obj.actionType == 16) {
pageObj = new CONTENTVIEW_CREATEOBJECT.imageNoAction( /* checkBtn no action */
obj.mediaType,
obj.actionType,
obj.id,
obj.imageUrl,
obj.x,
obj.y,
obj.width,
obj.height,
obj.visible
);
}
break;
case 2:
pageObj = new CONTENTVIEW_CREATEOBJECT.videoType2(
......
......@@ -388,6 +388,15 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
pageObject["resourceId"] = iValueObj.action.resourceId;
pageObject["enquete"] = iValueObj.action.enquete;
//pageObject["objectId"] = iValueObj.action.objectId;
} else if(iValueObj.action.actionType == 16) {
/*get mediaInfo */
// プレビューでは表示だけで、クリックしても機能しない
if (iValueObj.mediaInfo) {
/* get image from Json */
pageObject['imageUrl'] = AVWEB.getURL("webResourceDownload") + "&sid=" + CONTENTVIEW.getSessionId() + "&resourceId=" + iValueObj.mediaInfo.resourceId;
} else {
pageObject['imageUrl'] = null;
}
}
//End Function : No.9 - Editor : Long - Date: 08/16/2013 - Summary :
return pageObject;
......
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