changeset 1155:a34a06ba1e33 redmine-2.2-integration

Provide a JS callback which should (?) be rendered by toggle_active ajax call
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 15 Jan 2013 15:48:21 +0000
parents 651d2699348e
children 2f6e71e31b55
files app/views/attachments/toggle_active.js.erb
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/views/attachments/toggle_active.js.erb	Tue Jan 15 15:48:21 2013 +0000
@@ -0,0 +1,2 @@
+$("#active-<$= @attachment.id $>").update("This is a test");
+