Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
pdf-customizer
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
c2e1aa84
authored
2016-09-12 10:41:00 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ee
1 parent
c314aeee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
public/files/js/interfaceGdrive.js
public/files/js/interfaceGdrive.js
View file @
c2e1aa8
...
...
@@ -726,7 +726,7 @@ function finalPdf(data, json) {
var
strVar2
=
""
strVar2
+=
'<div id="seepdf" style=" width:'
+
imageWidth
+
'px; height: '
+
imageHeight
+
'px; overflow: hidden;
width:'
+
imageWidth
+
';height:'
+
imageHeight
+
'; ><object style="overflow:hidden;
" data='
+
pdf_customizer
+
'/fileentry/getPDF/'
+
json
[
0
].
folder
+
'/new_'
+
json
[
0
].
file
+
'#page='
+
setpage
+
'&toolbar=0&navpanes=0&;scrollbar=0&statusbar=0" width="'
+
imageWidth
+
'" height="'
+
imageHeight
+
'" type="application/pdf" id="pdfloaded"></object></div>'
;
strVar2
+=
'<div id="seepdf" style=" width:'
+
imageWidth
+
'px; height: '
+
imageHeight
+
'px; overflow: hidden;
><object style="overflow:hidden; width:'
+
imageWidth
+
';height:'
+
imageHeight
+
';
" data='
+
pdf_customizer
+
'/fileentry/getPDF/'
+
json
[
0
].
folder
+
'/new_'
+
json
[
0
].
file
+
'#page='
+
setpage
+
'&toolbar=0&navpanes=0&;scrollbar=0&statusbar=0" width="'
+
imageWidth
+
'" height="'
+
imageHeight
+
'" type="application/pdf" id="pdfloaded"></object></div>'
;
document
.
getElementById
(
'pdfPreviewInner'
).
innerHTML
=
strVar2
;
var
strVar3
=
'<div id="button"><input id="editMe" type="submit" value="Edit"><a href="'
+
pdf_customizer
+
'/fileentry/getPDF/'
+
json
[
0
].
folder
+
'/new_'
+
json
[
0
].
file
+
'" download="'
+
json
[
0
].
file
+
'" ><input id="downloadMe" type="submit" value="Download"></a> </div>'
;
...
...
Please
register
or
sign in
to post a comment