summaryrefslogtreecommitdiffstats
path: root/apps/federation
diff options
context:
space:
mode:
authorSergio Bertolín <sbertolin@solidgear.es>2016-06-08 10:19:18 +0000
committerSergio Bertolín <sbertolin@solidgear.es>2016-06-08 10:19:18 +0000
commitb8493629aeb1804c70f70eb72ceeac3103e9f307 (patch)
tree90d3709ee4426bbf5456c3751adb85a805a09109 /apps/federation
parente0aaa21bd8f9e726a5ffe2142116fc0e036cfff5 (diff)
downloadnextcloud-server-b8493629aeb1804c70f70eb72ceeac3103e9f307.tar.gz
nextcloud-server-b8493629aeb1804c70f70eb72ceeac3103e9f307.zip
Improve readability
Diffstat (limited to 'apps/federation')
-rw-r--r--apps/federation/js/settings-admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federation/js/settings-admin.js b/apps/federation/js/settings-admin.js
index a903cb15305..fec251ffaf1 100644
--- a/apps/federation/js/settings-admin.js
+++ b/apps/federation/js/settings-admin.js
@@ -58,8 +58,8 @@ $(document).ready(function () {
// remove trusted server from list
$( "#listOfTrustedServers" ).on('click', 'li > .icon-delete', function() {
- var id = $(this).parent().attr('id');
var $this = $(this).parent();
+ id = $this.attr('id');
$.ajax({
url: OC.generateUrl('/apps/federation/trusted-servers/' + id),
type: 'DELETE',