Skip to content

Commit

Permalink
Fixed remove link so that it works correctly to remove row now.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpatrick committed Aug 14, 2011
1 parent a01718c commit 9d9c08b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Resources/views/Order/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@
if ($(this).text() === "Add") {
add();
}
if ($(this).text() === "Remove") {
$(this).closest('tr').remove();
}
event.preventDefault();
});
Expand Down

0 comments on commit 9d9c08b

Please sign in to comment.