[Pkg-owncloud-commits] [owncloud] 01/67: Fix closing the sharing dropdown by clicking on the share button

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:10:29 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.1
in repository owncloud.

commit f571cfbf714de03d674b57c541ced487dad2eef6
Author: Michael Gapczynski <mtgap at owncloud.com>
Date:   Tue Oct 9 12:42:49 2012 -0400

    Fix closing the sharing dropdown by clicking on the share button
---
 apps/files_sharing/js/share.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js
index a171751..bc94d78 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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list