summaryrefslogtreecommitdiff
path: root/app/views/call_histories/destroy.js.erb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 16:22:52 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 16:22:52 +0100
commite2e2fbbdc6b26e00101f5d4d1b05c0d076c817c2 (patch)
tree9bcee822e17e416dbf012f180d0abcdd309b6c51 /app/views/call_histories/destroy.js.erb
parentaf4a02e15a02481e23f9458ae0a430ec52c57417 (diff)
Add a bit of AJAX to remove the just deleted row in call_history#index
Diffstat (limited to 'app/views/call_histories/destroy.js.erb')
-rw-r--r--app/views/call_histories/destroy.js.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/call_histories/destroy.js.erb b/app/views/call_histories/destroy.js.erb
new file mode 100644
index 0000000..2d14ddb
--- /dev/null
+++ b/app/views/call_histories/destroy.js.erb
@@ -0,0 +1 @@
+$('#call_history_id_<%= @call_history.id %>').remove(); \ No newline at end of file