Fix JS on after event handling

This commit is contained in:
Vik Paruchuri
2013-02-04 17:41:44 -05:00
parent d89ab000d2
commit e8803985f2

View File

@@ -51,7 +51,7 @@ class OpenEnded
return @handle_after_action
handle_after_action: (data) ->
if !response.success
if !data.success
@gentle_alert data.error
gentle_alert: (msg) =>