summaryrefslogtreecommitdiffstats
path: root/settings/js/personal.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-04-21 10:33:03 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-21 11:29:33 +0100
commit78f6e29954ed3c0e868d4eccdc95e4b6e8febdea (patch)
tree737dfeae036156db3b29fec0ebfb61e403ca83d9 /settings/js/personal.js
parent20739c93a680d7085d0e71c0e4f9c0bb24018fb9 (diff)
downloadnextcloud-server-78f6e29954ed3c0e868d4eccdc95e4b6e8febdea.tar.gz
nextcloud-server-78f6e29954ed3c0e868d4eccdc95e4b6e8febdea.zip
Add federation scope to the user avatar
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'settings/js/personal.js')
-rw-r--r--settings/js/personal.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js
index 7a8d43d1475..9045851ba0c 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -192,7 +192,7 @@ function avatarResponseHandler (data) {
if (typeof data === 'string') {
data = JSON.parse(data);
}
- var $warning = $('#avatar .warning');
+ var $warning = $('#avatarform .warning');
$warning.hide();
if (data.status === "success") {
updateAvatar();
@@ -271,7 +271,7 @@ $(document).ready(function () {
});
var federationSettingsView = new OC.Settings.FederationSettingsView({
- el: '#personal-settings-container'
+ el: '#personal-settings'
});
federationSettingsView.render();
@@ -412,7 +412,7 @@ $(document).ready(function () {
// Load the big avatar
if (oc_config.enable_avatars) {
- $('#avatar .avatardiv').avatar(OC.currentUser, 145);
+ $('#avatarform .avatardiv').avatar(OC.currentUser, 145);
}
// Show token views