Changed global variable to local
This commit is contained in:
parent
cc532bb14a
commit
2fe67ecc3c
|
@ -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…
Reference in New Issue