diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-01-28 17:01:37 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-01-28 17:01:37 +0100 |
commit | f3a99f4869ea238822793f89bef14b564c333aad (patch) | |
tree | f0e5ff4440138432ecc83dc42077cd3ffa61c60e /settings/js/users.js | |
parent | 590c4aa710077ae82a5af0ec4477a00eafe791dc (diff) | |
download | nextcloud-server-f3a99f4869ea238822793f89bef14b564c333aad.tar.gz nextcloud-server-f3a99f4869ea238822793f89bef14b564c333aad.zip |
show display name in input field
Diffstat (limited to 'settings/js/users.js')
-rw-r--r-- | settings/js/users.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/js/users.js b/settings/js/users.js index 835f46f6ed3..111e3040a35 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -305,7 +305,8 @@ $(document).ready(function () { event.stopPropagation(); var img = $(this); var uid = img.parent().parent().attr('data-uid'); - var input = $('<input type="text">'); + var displayName = img.parent().parent().attr('data-displayName'); + var input = $('<input type="text" value="'+displayName+'">'); img.css('display', 'none'); img.parent().children('span').replaceWith(input); input.focus(); |