Commit 53511fc5 by Jung Juyeong

TECCSプロジェクトのオーサリングツールに追加した「呼出リスト」ボタンをプレビューで表示できるように修正

parent 0f1d4b1a
......@@ -3107,6 +3107,7 @@ 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,
......@@ -3119,7 +3120,21 @@ CONTENTVIEW.ContentPage.prototype.addPageObjects = function (pageObjects) {
obj.height,
obj.visible
);
//呼出リストボタン
} else if (obj.actionType == 18) {
pageObj = new CONTENTVIEW_CREATEOBJECT.imageNoAction(
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(
......
......@@ -398,6 +398,17 @@ CONTENTVIEW_GETDATA.getMediaType1 = function(iValueObj) {
pageObject['imageUrl'] = null;
}
}
else if(iValueObj.action.actionType == 18) {
/*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