@@ -279,6 +279,10 @@ function page_load_document(args) { | |||
$(item).children('img').attr('data-lazy', | |||
conf.openapi + "/pages/" + doc.pageId[i] + "/image?maxWidth=300"); | |||
$(item).data('pageid', doc.pageId[i]); | |||
$(item).click(function(e) { | |||
console.log("open image", $(e.target).data('pageid')); | |||
}); | |||
$('.autodoc_document_carousel').append(item); | |||
} |