make pdf viewer work with text editor

This commit is contained in:
Robin Appelman 2012-01-14 22:25:07 +01:00
parent 36a2649e37
commit 0615d096ce
1 changed files with 2 additions and 0 deletions

View File

@ -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){