diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-09-15 15:51:21 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-09-16 07:23:29 +0200 |
commit | 36e452a472c8144812eb710d44ebbe03d01884d4 (patch) | |
tree | 9ef3dbac4ad57031557fafa14117678c231c19ac /core/js | |
parent | 02d68d06130345c3397976edd8f69169bbf8e980 (diff) | |
download | nextcloud-server-36e452a472c8144812eb710d44ebbe03d01884d4.tar.gz nextcloud-server-36e452a472c8144812eb710d44ebbe03d01884d4.zip |
Fix cruds button in share dialog
Only toggle the current row
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/sharedialogshareelistview.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js index c1d7ba4cf66..41be49dc241 100644 --- a/core/js/sharedialogshareelistview.js +++ b/core/js/sharedialogshareelistview.js @@ -281,8 +281,9 @@ this.model.setPermissions(shareType, shareWith, permissions); }, - onCrudsToggle: function() { - this.$el.find('.cruds').toggleClass('hidden'); + onCrudsToggle: function(event) { + var $target = $(event.target); + $target.closest('li').find('.cruds').toggleClass('hidden'); return false; }, |