Fix invisible document content when viewing

This commit is contained in:
Victor Dubiniuk 2014-06-13 18:41:16 +03:00
parent e37816348b
commit 5a568393a5

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