Skip to content

Commit

Permalink
Merge pull request #39 from mdpatrick/remove_links_now_works
Browse files Browse the repository at this point in the history
Fixed remove link so that it works correctly to remove row now.
  • Loading branch information
brikou committed Aug 14, 2011
2 parents 6de3edd + 9d9c08b commit 7335569
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 7335569

Please sign in to comment.