summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/bug.js21
1 files changed, 2 insertions, 19 deletions
diff --git a/js/bug.js b/js/bug.js
index 97a330af1..9237f7241 100644
--- a/js/bug.js
+++ b/js/bug.js
@@ -168,27 +168,10 @@ YAHOO.bugzilla.dupTable = {
+ res.responseText);
},
};
- YAHOO.util.Connect.setDefaultPostHeader('application/json', true);
- YAHOO.util.Connect.asyncRequest('POST', 'jsonrpc.cgi', callbacks, args)
- },
- };
- YAHOO.bugzilla.bugInterest = {
- unmark: function(bug_ids) {
- var args = JSON.stringify({
- version: "1.1",
- method: 'MyDashboard.bug_interest_unmark',
- params: { bug_ids: bug_ids },
- });
- var callbacks = {
- failure: function(res) {
- if (console)
- console.log("failed to unmark interest: "
- + res.responseText);
- },
- };
YAHOO.util.Connect.setDefaultPostHeader('application/json', true);
- YAHOO.util.Connect.asyncRequest('POST', 'jsonrpc.cgi', callbacks, args)
+ YAHOO.util.Connect.asyncRequest('POST', 'jsonrpc.cgi', callbacks,
+ args)
},
};
})();