Skip to content

Commit

Permalink
Fix graph deleting
Browse files Browse the repository at this point in the history
  • Loading branch information
quirkey committed Nov 28, 2011
1 parent cd2467a commit 3cf063f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions public/js/app.js
Expand Up @@ -437,9 +437,9 @@ var app = Sammy('body', function() {
$.ajax({
type: 'post',
data: '_method=DELETE',
url: '/graphs/'+uuid,
url: '/graphs/'+ this.params.uuid,
success: function(resp){
ctx.refresh();
ctx.app.refresh();
}
});
}
Expand Down
4 changes: 2 additions & 2 deletions public/js/default.js
Expand Up @@ -13112,9 +13112,9 @@ var app = Sammy('body', function() {
$.ajax({
type: 'post',
data: '_method=DELETE',
url: '/graphs/'+uuid,
url: '/graphs/'+ this.params.uuid,
success: function(resp){
ctx.refresh();
ctx.app.refresh();
}
});
}
Expand Down

0 comments on commit 3cf063f

Please sign in to comment.