diff options
Diffstat (limited to 'settings/js/federationsettingsview.js')
-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()) { |