summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/index/hootbox.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/js/lib/views/index/hootbox.js')
-rw-r--r--public/assets/js/lib/views/index/hootbox.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/assets/js/lib/views/index/hootbox.js b/public/assets/js/lib/views/index/hootbox.js
index 2338153..89b5ef8 100644
--- a/public/assets/js/lib/views/index/hootbox.js
+++ b/public/assets/js/lib/views/index/hootbox.js
@@ -48,8 +48,8 @@ var HootBox = FormView.extend({
return errors.length ? errors : null
},
- success: function(comment){
- this.prependComment(comment)
+ success: function(data){
+ this.prependComment(data.comment)
this.$("[name=comment]").val("")
}
}) \ No newline at end of file