fileList needs be be declared before the if-statement

remotes/origin/ldap_group_count
Bjoern Schiessle 12 years ago
parent 050df76830
commit 1166d62d9b
  1. 2
      apps/files_sharing/js/share.js

@ -31,8 +31,8 @@ $(document).ready(function() {
// we create a share notification action to inform the user about files
// shared with him otherwise we just update the existing share action.
var allShared;
var $fileList = $(this);
if (oc_appconfig.core.sharingDisabledForUser) {
var $fileList = $(this);
allShared = $fileList.find('[data-share-owner]');
var shareNotification = '<a class="action action-share-notification permanent"' +
' data-action="Share-Notification" href="#" original-title="">' +

Loading…
Cancel
Save