summaryrefslogtreecommitdiffstats
path: root/extensions/EditComments
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/EditComments')
-rw-r--r--extensions/EditComments/web/js/editcomments.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/EditComments/web/js/editcomments.js b/extensions/EditComments/web/js/editcomments.js
index 91763fa62..a4e3014d5 100644
--- a/extensions/EditComments/web/js/editcomments.js
+++ b/extensions/EditComments/web/js/editcomments.js
@@ -47,7 +47,9 @@ function editComment(comment_count, comment_id) {
version: "1.1",
method: "EditComments.comments",
id: comment_id,
- params: { comment_ids: [ comment_id ] }
+ params: { comment_ids: [ comment_id ],
+ Bugzilla_api_token : (BUGZILLA.api_token ? BUGZILLA.api_token : '')
+ }
})
);
}