aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federation/js
diff options
context:
space:
mode:
authorSergio Bertolín <sbertolin@solidgear.es>2016-06-17 07:35:23 +0000
committerSergio Bertolín <sbertolin@solidgear.es>2016-06-17 07:35:23 +0000
commit2fe67ecc3cec8325ac4a17c26a3e1f36b28ebf2f (patch)
treeb0e6cb8f515177c54213d7d146a02f9c7c99aefc /apps/federation/js
parentcc532bb14aed74c397efa29a19ba48a3eeeb0cf0 (diff)
downloadnextcloud-server-2fe67ecc3cec8325ac4a17c26a3e1f36b28ebf2f.tar.gz
nextcloud-server-2fe67ecc3cec8325ac4a17c26a3e1f36b28ebf2f.zip
Changed global variable to local
Diffstat (limited to 'apps/federation/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',