f0ddff0a by Jeff Balicki

Revert "333"

This reverts commit 48d1f12e.

# Conflicts:
#	public/files/js/interfaceGdrive.js
1 parent f9e8e36d
......@@ -727,18 +727,15 @@ function finalPdf(data, json) {
var strVar2 = ""
strVar2 += '<div id="seepdf" style=" width:' + imageWidth + 'px; height: ' + imageHeight + 'px; overflow: hidden;" ></div>';
strVar2 += '<div id="seepdf" style=" width:' + imageWidth + 'px; height: ' + imageHeight + 'px; overflow: hidden;" ><object style="overflow-x: hidden; overflow-y: hidden; width: ' + imageWidth + 'px; height: ' + imageHeight + 'px; min-height: 101%; -ms-overflow-style: none |;" 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>';
document.getElementById('controls').innerHTML = strVar3;
var options = {
height: imageHeight+"px",
width: imageWidth+"px",
pdfOpenParams: { scrollbar: '0', toolbar: '0', statusbar: '0', messages: '0', navpanes: '0', view: 'FitV', page: + setpage }
};
PDFObject.embed(pdf_customizer + '/fileentry/getPDF/' + json[0].folder + '/new_' + json[0].file, "#seepdf", options);
$.LoadingOverlaySetup({
color: "rgba(0, 0, 0, 0.9)",
......