Commit 4f026a87 by Takuya Ogawa

TECSS指定ページ移動ボタンのプレビュー対応

parent 53511fc5
...@@ -3133,6 +3133,19 @@ CONTENTVIEW.ContentPage.prototype.addPageObjects = function (pageObjects) { ...@@ -3133,6 +3133,19 @@ CONTENTVIEW.ContentPage.prototype.addPageObjects = function (pageObjects) {
obj.height, obj.height,
obj.visible obj.visible
); );
//指定ページ移動ボタン
} else if (obj.actionType == 19) {
pageObj = new CONTENTVIEW_CREATEOBJECT.imageNoAction(
obj.mediaType,
obj.actionType,
obj.id,
obj.imageUrl,
obj.x,
obj.y,
obj.width,
obj.height,
obj.visible
);
} }
break; break;
......
...@@ -408,6 +408,15 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) { ...@@ -408,6 +408,15 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
} else { } else {
pageObject['imageUrl'] = null; pageObject['imageUrl'] = null;
} }
else if(iValueObj.action.actionType == 19) {
/*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 : //End Function : No.9 - Editor : Long - Date: 08/16/2013 - Summary :
return pageObject; 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