Commit d7300314 authored by Ivan Tyagov's avatar Ivan Tyagov

Add JavaScript function to allow type in PDF thumbnail page selection in a...

Add JavaScript function to allow type in PDF thumbnail page selection in a similar way as listbox type in navigation.
No related merge requests found
......@@ -364,6 +364,17 @@ function submitLinkAsHtmlForm(event){\n
return false;\n
}\n
\n
function redirectPDFPage(event, element){\n
/*\n
Used in PDF thumbnail preview mode\n
*/\n
if(event.keyCode == 13){\n
selection_index = parseInt($(element).val()) - 1;\n
window.location.href = "PDF_viewHTMLPreviewAsImage?selection_index=" + selection_index;\n
return false; \n
}\n
}\n
\n
if (navigator.userAgent.toLowerCase().indexOf(\'firefox\') != -1)\n
$(document).ready(rewriteIndentedSelect);\n
$(document).ready(resizeIFrameOnLoad);\n
......
17
\ No newline at end of file
18
\ No newline at end of file
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