diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/bug.js | 5 | ||||
-rw-r--r-- | js/instant-search.js | 3 |
2 files changed, 6 insertions, 2 deletions
@@ -184,7 +184,10 @@ YAHOO.bugzilla.dupTable = { var args = JSON.stringify({ version: "1.1", method: 'MyDashboard.bug_interest_unmark', - params: { bug_ids: bug_ids }, + params: { + bug_ids: bug_ids, + Bugzilla_api_token: (BUGZILLA.api_token ? BUGZILLA.api_token : '') + }, }); var callbacks = { failure: function(res) { diff --git a/js/instant-search.js b/js/instant-search.js index a3f051f2f..8277b97a9 100644 --- a/js/instant-search.js +++ b/js/instant-search.js @@ -151,7 +151,8 @@ YAHOO.bugzilla.instantSearch = { product: YAHOO.bugzilla.instantSearch.getProduct(), summary: query, limit: 20, - include_fields: [ "id", "summary", "status", "resolution", "component" ] + include_fields: [ "id", "summary", "status", "resolution", "component" ], + Bugzilla_api_token : (BUGZILLA.api_token ? BUGZILLA.api_token : '') } }; |