summaryrefslogtreecommitdiffstats
path: root/extensions/MyDashboard/web/js/query.js
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/MyDashboard/web/js/query.js')
-rw-r--r--extensions/MyDashboard/web/js/query.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/extensions/MyDashboard/web/js/query.js b/extensions/MyDashboard/web/js/query.js
index 42dfca561..9cea27f87 100644
--- a/extensions/MyDashboard/web/js/query.js
+++ b/extensions/MyDashboard/web/js/query.js
@@ -122,7 +122,9 @@ YUI({
version: "1.1",
method: "MyDashboard.run_bug_query",
id: counter,
- params: { query : query_name }
+ params: { query : query_name,
+ Bugzilla_api_token : (BUGZILLA.api_token ? BUGZILLA.api_token : '')
+ }
};
bugQuery.sendRequest({
@@ -206,7 +208,11 @@ YUI({
var lastChangesParams = {
version: "1.1",
method: "MyDashboard.run_last_changes",
- params: { bug_id: data.bug_id, changeddate_api: data.changeddate_api }
+ params: {
+ bug_id: data.bug_id,
+ changeddate_api: data.changeddate_api,
+ Bugzilla_api_token : (BUGZILLA.api_token ? BUGZILLA.api_token : '')
+ }
};
lastChangesQuery.sendRequest({