Merge pull request #5648 from owncloud/files-fixhidecontrolsinviewermode
Corretly hide "no permissions" message in controls in viewer mode
This commit is contained in:
commit
be07e828ef
|
@ -264,6 +264,9 @@ var FileList={
|
||||||
$('.creatable').toggleClass('hidden', !isCreatable);
|
$('.creatable').toggleClass('hidden', !isCreatable);
|
||||||
$('.notCreatable').toggleClass('hidden', isCreatable);
|
$('.notCreatable').toggleClass('hidden', isCreatable);
|
||||||
}
|
}
|
||||||
|
else{
|
||||||
|
$('.creatable, .notCreatable').addClass('hidden');
|
||||||
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Enables/disables viewer mode.
|
* Enables/disables viewer mode.
|
||||||
|
|
Loading…
Reference in New Issue