diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-19 01:45:01 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-19 01:45:01 +0100 |
| commit | d2e76933c2d81a7502d66baa926fd36420edad8a (patch) | |
| tree | 4fc840f89e0bb3488f55c5936cacb9df615432a9 /public/assets/js/lib/views/index/hootbox.js | |
| parent | dd4a6de8c883f83be1c39c4f2d431b828953a75e (diff) | |
fix hootbox for real
Diffstat (limited to 'public/assets/js/lib/views/index/hootbox.js')
| -rw-r--r-- | public/assets/js/lib/views/index/hootbox.js | 4 |
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 |
