Merge pull request #5405 from owncloud/sharing-chromehangswithversionenabled

Disable versions app JS in public mode
remotes/origin/stable6
Morris Jobke 13 years ago
commit 0755aca501
  1. 7
      apps/files_versions/js/versions.js

@ -1,5 +1,12 @@
$(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(

Loading…
Cancel
Save