Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-10-09 20:42:49 +0400
committerLukas Reschke <lukas@statuscode.ch>2012-10-09 21:23:44 +0400
commit4e6f720f14c810b37289843539531c7ecb1fe573 (patch)
tree286755d7c3dc2ead8aae367888c88c826f0b87c2 /apps
parent38e9bc2adbacb4ce4a7801996ec143f067a9d731 (diff)
Fix closing the sharing dropdown by clicking on the share button
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/js/share.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js
index a171751589a..bc94d78fb76 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -46,7 +46,7 @@ $(document).ready(function() {
var appendTo = $(tr).find('td.filename');
// Check if drop down is already visible for a different file
if (OC.Share.droppedDown) {
- if (item != $('#dropdown').data('item')) {
+ if ($(tr).data('id') != $('#dropdown').attr('data-item-source')) {
OC.Share.hideDropDown(function () {
$(tr).addClass('mouseOver');
OC.Share.showDropDown(itemType, $(tr).data('id'), appendTo, true, possiblePermissions);