From 2fe67ecc3cec8325ac4a17c26a3e1f36b28ebf2f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergio=20Bertol=C3=ADn?= Date: Fri, 17 Jun 2016 07:35:23 +0000 Subject: [PATCH] Changed global variable to local --- apps/federation/js/settings-admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- 2.39.5