Commit 85d9e586 authored by Vincent Petry's avatar Vincent Petry Committed by GitHub
Browse files

Merge pull request #25153 from owncloud/fix-problem-added-in-25023

Changed global variable to local
parents cc532bb1 2fe67ecc
......@@ -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',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment