[Pkg-owncloud-commits] [owncloud] 47/394: Use attr instead of data to prevent a type convertion fix #287

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


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

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

commit 50d5ca71d0e6ea1c8adbb39f99a82aebda1914b4
Author: Brice Maron <brice at bmaron.net>
Date:   Tue Nov 6 20:32:24 2012 +0000

    Use attr instead of data to prevent a type convertion fix #287
---
 settings/js/users.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/settings/js/users.js b/settings/js/users.js
index 20bd949..e470a07 100644
--- a/settings/js/users.js
+++ b/settings/js/users.js
@@ -113,7 +113,7 @@ var UserList={
 		if (sort) {
 			username = username.toLowerCase();
 			$('tbody tr').each(function() {
-				if (username < $(this).data('uid').toLowerCase()) {
+				if (username < $(this).attr('data-uid').toLowerCase()) {
 					$(tr).insertBefore($(this));
 					added = true;
 					return false;

-- 
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