Skip to content
Snippets Groups Projects
Commit 0755aca5 authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #5405 from owncloud/sharing-chromehangswithversionenabled

Disable versions app JS in public mode
parents 5c5621d8 41c6c442
No related branches found
No related tags found
No related merge requests found
$(document).ready(function(){
if ($('#isPublic').val()){
// no versions actions in public mode
// beware of https://github.com/owncloud/core/issues/4545
// as enabling this might hang Chrome
return;
}
if (typeof FileActions !== 'undefined') {
// Add versions button to 'files/index.php'
FileActions.register(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment