diff --git a/reviewboard/static/rb/js/views/commentDialogView.js b/reviewboard/static/rb/js/views/commentDialogView.js
index 51b4c88ca52b43f4ccfeb9d1e9b2ce48ba2cb67c..5713f8ef035a5f0f2d95896e2dbb0154cc9a9b02 100644
--- a/reviewboard/static/rb/js/views/commentDialogView.js
+++ b/reviewboard/static/rb/js/views/commentDialogView.js
@@ -311,6 +311,7 @@ RB.CommentDialogView = Backbone.View.extend({
         RB.CommentDialogHook.each(function(hook) {
             var HookViewType = hook.get('viewType'),
                 hookView = new HookViewType({
+                    extension: hook.get('extension'),
                     commentDialog: this,
                     commentEditor: this.model,
                     el: this.el
diff --git a/reviewboard/static/rb/js/views/reviewDialogView.es6.js b/reviewboard/static/rb/js/views/reviewDialogView.es6.js
index 06660ac6127180d91fafbab37e6a75640a08ef23..491a56e6042f337d3086b1bef751af67dda7f2ff 100644
--- a/reviewboard/static/rb/js/views/reviewDialogView.es6.js
+++ b/reviewboard/static/rb/js/views/reviewDialogView.es6.js
@@ -199,6 +199,7 @@ const BaseCommentView = Backbone.View.extend({
         RB.ReviewDialogCommentHook.each(hook => {
             const HookView = hook.get('viewType');
             const hookView = new HookView({
+                extension: hook.get('extension'),
                 model: this.model,
             });
 
@@ -887,6 +888,7 @@ RB.ReviewDialogView = Backbone.View.extend({
         RB.ReviewDialogHook.each(hook => {
             const HookView = hook.get('viewType');
             const hookView = new HookView({
+                extension: hook.get('extension'),
                 model: this.model,
             });
 
