Access via public link for logged in users. Ref #45

This commit is contained in:
Victor Dubiniuk 2013-09-24 15:53:33 +03:00
parent 670016580f
commit 05df848a52
2 changed files with 9 additions and 1 deletions

View File

@ -86,6 +86,7 @@
}
#odf-toolbar{
text-align: left;
position: absolute;
width: 100%;
padding:0;
@ -200,4 +201,4 @@ editinfo > div.editInfoMarker {
}
editinfo > div.editInfoMarker:hover {
}
}

View File

@ -93,6 +93,13 @@ var documentsMain = {
var fileId = parent.location.hash.replace(/\W*/g, '')
|| $("[name='document']").val()
;
if ($("[name='document']").val()){
// !Login page mess wih WebODF toolbars
$(document.body).attr('id', 'body-user');
$('header,footer').hide();
}
if (!fileId){
documentsMain.show();
} else {