Changed global variable to local

pull/186/head^2
Sergio Bertolín 10 years ago
parent cc532bb14a
commit 2fe67ecc3c
  1. 2
      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',

Loading…
Cancel
Save