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

Changed global variable to local
This commit is contained in:
Vincent Petry 2016-06-17 13:28:34 +02:00 committed by GitHub
commit 85d9e58637

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