From: Lukas Reschke Date: Mon, 21 Nov 2016 20:50:57 +0000 (+0100) Subject: Fix visibility switcher for avatar X-Git-Tag: v11.0RC2~147^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=267ecab4057da99fb1799dfec51eed668dd35020;p=nextcloud-server.git Fix visibility switcher for avatar Fixes #2223 Signed-off-by: Lukas Reschke --- diff --git a/settings/js/federationsettingsview.js b/settings/js/federationsettingsview.js index 7a629fc2ab6..b71b450546d 100644 --- a/settings/js/federationsettingsview.js +++ b/settings/js/federationsettingsview.js @@ -137,7 +137,7 @@ this._config.set(field + 'Scope', scope); - $('#' + field).parent().find('span > input').val(scope); + $('#' + field + 'scope').val(scope); // TODO: user loading/success feedback this._config.save(); diff --git a/settings/templates/personal.php b/settings/templates/personal.php index b81b19d9060..8b5931c369f 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -60,6 +60,7 @@
t('Choose as profile picture')); ?>
+