diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-03-26 17:57:05 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-03-26 18:15:34 +0200 |
commit | 2048e3e2014aceaee16336f3ceddbb00cf92993e (patch) | |
tree | 70e8115a8a1c1ef6e5d3a2fd0dbe0fc0acc5875c /settings | |
parent | ec6853a2a65c284af08f0241699f227516f25464 (diff) | |
download | nextcloud-server-2048e3e2014aceaee16336f3ceddbb00cf92993e.tar.gz nextcloud-server-2048e3e2014aceaee16336f3ceddbb00cf92993e.zip |
replace name in top right with icon for less noise
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/federationsettingsview.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/settings/js/federationsettingsview.js b/settings/js/federationsettingsview.js index 360167bfe43..2715c1e1e08 100644 --- a/settings/js/federationsettingsview.js +++ b/settings/js/federationsettingsview.js @@ -111,21 +111,9 @@ $.when(savingData).done(function() { //OC.msg.finishedSaving('#personal-settings-container .msg', result) self._showInputChangeSuccess(field); - if (field === 'displayname') { - self._updateDisplayName(value); - } }); }, - _updateDisplayName: function(displayName) { - // update displayName on the top right expand button - $('#expandDisplayName').text(displayName); - // update avatar if avatar is available - if (!$('#removeavatar').hasClass('hidden')) { - updateAvatar(); - } - }, - _onScopeChanged: function(field, scope) { var $dialog = $('.oc-dialog:visible'); if (OC.PasswordConfirmation.requiresPasswordConfirmation()) { |