make pdf viewer work with text editor

remotes/origin/stable
Robin Appelman 15 years ago
parent 36a2649e37
commit 0615d096ce
  1. 2
      apps/files_pdfviewer/js/viewer.js

@ -4,8 +4,10 @@ function hidePDFviewer() {
$('#controls').html(showPDFviewer.oldcode);
$("#viewer").remove();
$("#loading").remove()
$("#editor").show();
document.title = showPDFviewer.lastTitle;
PDFView.active=false;
$('iframe').remove();
}
function showPDFviewer(dir,filename){

Loading…
Cancel
Save