Commit 13b6f8ed by Masaru Abe

ダウンロードボタンのクリック対応

parent b83d39d3
......@@ -249,11 +249,13 @@ DETAIL.showContentNotPDF = function(displayData) {
SHARE.contentId = displayData.contentID;
SHARE.contentTitle = displayData.contentTitle;
$("#contentdetail_dspShare").show();
$("#contentdetail_dspShare").unbind("click");
$("#contentdetail_dspShare").click(SHARE.openContentShare);
}
//ダウンロード
if( displayData.contentDownload == '1' ){
$("#contentdetail_dspDownload").show();
$("#contentdetail_dspDownload").unbind("click");
$("#contentdetail_dspDownload").click(DETAIL.downloadFunction);
}
......@@ -309,11 +311,13 @@ DETAIL.showContent = function(displayData) {
SHARE.contentId = displayData.contentID;
SHARE.contentTitle = displayData.contentTitle;
$("#contentdetail_dspShare").show();
$("#contentdetail_dspShare").unbind("click");
$("#contentdetail_dspShare").click(SHARE.openContentShare);
}
//ダウンロード
if( displayData.contentDownload == '1' ){
$("#contentdetail_dspDownload").show();
$("#contentdetail_dspDownload").unbind("click");
$("#contentdetail_dspDownload").click(DETAIL.downloadFunction);
}
......
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