[Pkg-owncloud-commits] [owncloud] 137/273: Use attr() instead of data() so the item ids work as intended
David Prévot
taffit at moszumanska.debian.org
Fri Jul 4 03:13:09 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 5e4ac548bb8eb752e8c05f260991b1dfb1fff9ab
Author: Joas Schilling <nickvergessen at gmx.de>
Date: Mon Jun 30 13:20:38 2014 +0200
Use attr() instead of data() so the item ids work as intended
Fix #8841
---
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 0999bfd..2efed53 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -107,7 +107,7 @@
var appendTo = $tr.find('td.filename');
// Check if drop down is already visible for a different file
if (OC.Share.droppedDown) {
- if ($tr.data('id') !== $('#dropdown').attr('data-item-source')) {
+ if ($tr.attr('data-id') !== $('#dropdown').attr('data-item-source')) {
OC.Share.hideDropDown(function () {
$tr.addClass('mouseOver');
OC.Share.showDropDown(itemType, $tr.data('id'), appendTo, true, possiblePermissions, filename);
--
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