diff --git a/static/js/documentInfoView.mdr.js b/static/js/documentInfoView.mdr.js index 7923a7d..3222068 100644 --- a/static/js/documentInfoView.mdr.js +++ b/static/js/documentInfoView.mdr.js @@ -269,6 +269,21 @@ pandora.ui.documentInfoView = function(data, isMixed) { .appendTo($text); } + // Preview + if (data.extension == 'pdf') { + var $div = $('
').css({ + marginTop: '12px', + }).html( + Ox.range(1, data.dimensions + 1).map(function(page) { + return '' + }).join('\n') + ) + pandora.createLinks($div); + $div.appendTo($text) + } + // Referenced -------------------------------------------------------------- if ( !isMultiple && (