aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federation/js/settings-admin.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federation/js/settings-admin.js')
-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 45d5d62a5a3..10fabbeb9b9 100644
--- a/apps/federation/js/settings-admin.js
+++ b/apps/federation/js/settings-admin.js
@@ -60,7 +60,7 @@ $(document).ready(function () {
// remove trusted server from list
$( "#listOfTrustedServers" ).on('click', 'li > .icon-delete', function() {
var $this = $(this).parent();
- id = $this.attr('id');
+ var id = $this.attr('id');
$.ajax({
url: OC.generateUrl('/apps/federation/trusted-servers/' + id),
type: 'DELETE',