summaryrefslogtreecommitdiffstats
path: root/settings/js/personal.js
diff options
context:
space:
mode:
Diffstat (limited to 'settings/js/personal.js')
-rw-r--r--settings/js/personal.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js
index c5a46a16002..8747c496041 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -42,6 +42,7 @@ $(document).ready(function(){
$.post( 'ajax/changedisplayname.php', post, function(data){
if( data.status == "success" ){
$('#displaynamechanged').show();
+ $('#oldDisplayName').val($('#displayName').val());
// update displayName on the top right expand button
str_parts = $('#expand').html().split('\t');
str_parts[5] = $('#displayName').val();