Commit 2de7f10d authored by Jérome Perrin's avatar Jérome Perrin

fixup! dms: drop PDF thumbnail view

parent 78ae707c
...@@ -339,17 +339,6 @@ function submitLinkAsHtmlForm(event){ ...@@ -339,17 +339,6 @@ function submitLinkAsHtmlForm(event){
return false; return false;
} }
function redirectPDFPage(event, element){
/*
Used in PDF thumbnail preview mode
*/
if(event.keyCode == 13){
selection_index = parseInt($(element).val(), 10) - 1;
window.location.href = "PDF_viewHTMLPreviewAsImage?selection_index=" + selection_index;
return false;
}
}
if (navigator.userAgent.toLowerCase().indexOf('firefox') != -1) if (navigator.userAgent.toLowerCase().indexOf('firefox') != -1)
$(document).ready(rewriteIndentedSelect); $(document).ready(rewriteIndentedSelect);
$(document).ready(resizeIFrameOnLoad); $(document).ready(resizeIFrameOnLoad);
......
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