diff options
| author | mo khan <mo@mokhan.ca> | 2015-04-11 16:19:04 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-04-11 16:19:04 -0600 |
| commit | 90b1e111c33477deda98f0199d7e5cef4f9268a1 (patch) | |
| tree | 465067d67c5adcc190cbd80ded39add910066cd2 /app/assets/javascripts | |
| parent | 72dcd078e6149dc83c8f4094a104c5a8e25e5d47 (diff) | |
bring back the items js.
Diffstat (limited to 'app/assets/javascripts')
| -rw-r--r-- | app/assets/javascripts/items.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/app/assets/javascripts/items.js b/app/assets/javascripts/items.js index 828c2cb..bb7108c 100644 --- a/app/assets/javascripts/items.js +++ b/app/assets/javascripts/items.js @@ -1,10 +1,10 @@ -//$(function(){ - //$(".delete_stub").click(function(){ - //$(this).hide(); - //$(".delete_form").show(); - //}); - //$(".delete_form .cancel").click(function(){ - //$(this).parent("form").hide(); - //$(".delete_stub").show(); - //}); -//}); +$(function(){ + $(".delete_stub").click(function(){ + $(this).hide(); + $(".delete_form").show(); + }); + $(".delete_form .cancel").click(function(){ + $(this).parent("form").hide(); + $(".delete_stub").show(); + }); +}); |
