]> source.dussan.org Git - nextcloud-server.git/commit
update oldDisplayName value on displayName change
authorQingping Hou <dave2008713@gmail.com>
Sun, 24 Feb 2013 23:13:25 +0000 (18:13 -0500)
committerQingping Hou <dave2008713@gmail.com>
Sun, 24 Feb 2013 23:13:25 +0000 (18:13 -0500)
commit278a6f5b416693ed2dbeb13b6cc1fb0dafc9d391
tree1e1078e55cf7e3dfcc6ab3779b6d0f7044a8a075
parent2f3c5d8afc1b945a643aa94aeafd5138d1f57528
update oldDisplayName value on displayName change

This patch fixes a bug that can be reproduced in following way:

1. change displayName
2. clear text in displayName input click change again

Then you will get an error and previous displayName will be restored.

Expected behavior should restore the new updated displayName.
settings/js/personal.js