diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-01-14 22:25:07 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-01-14 22:25:07 +0100 |
commit | 0615d096cea5af65291f040bb287e45ea1b0d02c (patch) | |
tree | ae1ef0e84009c131be745f94f5289b241bcb86a0 /apps/files_pdfviewer/js | |
parent | 36a2649e371093eb9961c5ee95fd75ded98c9394 (diff) | |
download | nextcloud-server-0615d096cea5af65291f040bb287e45ea1b0d02c.tar.gz nextcloud-server-0615d096cea5af65291f040bb287e45ea1b0d02c.zip |
make pdf viewer work with text editor
Diffstat (limited to 'apps/files_pdfviewer/js')
-rwxr-xr-x | apps/files_pdfviewer/js/viewer.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_pdfviewer/js/viewer.js b/apps/files_pdfviewer/js/viewer.js index 03288ebe420..7f6766c67dd 100755 --- a/apps/files_pdfviewer/js/viewer.js +++ b/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){ |