owncloud/core — pull request #297 by eMerzh (2012-11-06 20:37:03+00:00)
Title: Use attr instead of data to prevent a type convertion fix #287

When you add a user in OC with a username that can be parsed by jquery data function ,

oc will fail at adding new user (like in #287)

instead of using data('uid') that will interpret a uid of 123 as an integer, we must use attr('data-uid') that will give us only strings

(we may want to apply this to master as well)