summaryrefslogtreecommitdiffstats
path: root/settings/js/federationsettingsview.js
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-11-18 19:44:21 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-21 11:30:02 +0100
commit5acc3d3c5e8c78ee425dad1dfb3d8d057a6e7203 (patch)
tree52caec71adc87bbdcc842d238c373e915725370f /settings/js/federationsettingsview.js
parenta0c64044b25ab4d6a80ac9bcf3084a8166de6e19 (diff)
downloadnextcloud-server-5acc3d3c5e8c78ee425dad1dfb3d8d057a6e7203.tar.gz
nextcloud-server-5acc3d3c5e8c78ee425dad1dfb3d8d057a6e7203.zip
Highlight current entry
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'settings/js/federationsettingsview.js')
-rw-r--r--settings/js/federationsettingsview.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/js/federationsettingsview.js b/settings/js/federationsettingsview.js
index e42828ca456..9b38664d2f8 100644
--- a/settings/js/federationsettingsview.js
+++ b/settings/js/federationsettingsview.js
@@ -128,6 +128,9 @@
_onScopeChanged: function(field, scope) {
this._config.set(field + 'Scope', scope);
+
+ $('#' + field).parent().find('span > input').val(scope);
+
// TODO: user loading/success feedback
this._config.save();
this._setFieldScopeIcon(field, scope);