|
|
@@ -299,11 +299,11 @@ function page_load_document(args) { |
|
|
|
|
|
|
|
$(item).data('pageid', doc.pageId[i]); |
|
|
|
$(item).click(function(e) { |
|
|
|
var pageid = $(e.target).parent().data('pageid'); |
|
|
|
$('.autodoc_document_image').attr('src', |
|
|
|
conf.openapi + "/pages/" + $(e.target).parent().data('pageid') + "/image" |
|
|
|
conf.openapi + "/pages/" + pageid + "/image" |
|
|
|
); |
|
|
|
$('.autodoc_document_image').data('pageid', doc.pageId[i]); |
|
|
|
console.log("new pageid", $('.autodoc_document_image').data('pageid')); |
|
|
|
$('.autodoc_document_image').data('pageid', pageid); |
|
|
|
}); |
|
|
|
$('.autodoc_document_carousel').append(item); |
|
|
|
|