summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/stream/hootform.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/js/lib/views/stream/hootform.js')
-rw-r--r--public/assets/js/lib/views/stream/hootform.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/stream/hootform.js b/public/assets/js/lib/views/stream/hootform.js
index f13cc55..07533d5 100644
--- a/public/assets/js/lib/views/stream/hootform.js
+++ b/public/assets/js/lib/views/stream/hootform.js
@@ -6,7 +6,8 @@ var HootForm = FormView.extend({
action: "/api/thread/1/comment",
initialize: function (opt) {
- this.__super__.initialize.call(this);
+ this.__super__.initialize.call(this, opt);
+ this.parent = opt.parent;
this.$comment = this.$("[name=comment]");
},