Merge pull request #5648 from owncloud/files-fixhidecontrolsinviewermode

Corretly hide "no permissions" message in controls in viewer mode
This commit is contained in:
Morris Jobke 2013-10-31 08:08:04 -07:00
commit be07e828ef
1 changed files with 3 additions and 0 deletions

View File

@ -264,6 +264,9 @@ var FileList={
$('.creatable').toggleClass('hidden', !isCreatable);
$('.notCreatable').toggleClass('hidden', isCreatable);
}
else{
$('.creatable, .notCreatable').addClass('hidden');
}
},
/**
* Enables/disables viewer mode.