From 2f5045ad5b20492db98f7666429053d2a9276266 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 10 Oct 2014 20:31:06 -0400 Subject: Revert "Bug 1074586 - New Feature: Bugs of Interest" This reverts commit ccea670dcba24ff2ac0233437aa549b22edb390c. --- js/bug.js | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'js') 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) }, }; })(); -- cgit v1.2.3-24-g4f1b