Merge pull request #280 from owncloud/fix-viewer-invisible

Fix invisible document content when viewing
This commit is contained in:
VicDeo 2014-06-13 19:38:34 +03:00
commit 688bbdfd11

View File

@ -56,7 +56,7 @@ var odfViewer = {
onView: function(filename) {
var webodfSource = (oc_debug === true) ? 'webodf-debug' : 'webodf',
attachTo = odfViewer.isDocuments ? '#documents-content' : '#app-content-files',
attachTo = odfViewer.isDocuments ? '#documents-content' : '#controls',
attachToolbarTo = odfViewer.isDocuments ? '#content-wrapper' : '#controls';
if (odfViewer.isDocuments){