diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-11-21 21:50:57 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-11-21 21:50:57 +0100 |
commit | 267ecab4057da99fb1799dfec51eed668dd35020 (patch) | |
tree | 2c4b3af3ab8f132ba542b95b22461f766b800ca1 /settings | |
parent | 206ef51eac4f65242658733f6899f7fe3fa473b2 (diff) | |
download | nextcloud-server-267ecab4057da99fb1799dfec51eed668dd35020.tar.gz nextcloud-server-267ecab4057da99fb1799dfec51eed668dd35020.zip |
Fix visibility switcher for avatar
Fixes #2223
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/federationsettingsview.js | 2 | ||||
-rw-r--r-- | settings/templates/personal.php | 1 |
2 files changed, 2 insertions, 1 deletions
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 @@ <div class="inlineblock button primary" id="sendcropperbutton"><?php p($l->t('Choose as profile picture')); ?></div> </div> </div> + <span class="icon-checkmark hidden"/> <input type="hidden" id="avatarscope" value="<?php p($_['avatarScope']) ?>"> </form> </div> |