Changed global variable to local

This commit is contained in:
Sergio Bertolín 2016-06-17 07:35:23 +00:00
parent cc532bb14a
commit 2fe67ecc3c
1 changed files with 1 additions and 1 deletions

View File

@ -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',