aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/js/bug-page-mod.js29
1 files changed, 0 insertions, 29 deletions
diff --git a/data/js/bug-page-mod.js b/data/js/bug-page-mod.js
index f511c7c..b56d857 100644
--- a/data/js/bug-page-mod.js
+++ b/data/js/bug-page-mod.js
@@ -85,8 +85,6 @@ function tweakBugzilla(d) {
if (commentBox)
commentBox.rows=20;
- addAssignToSelfButton(d);
-
attachmentDiffLinkify(d);
// Mark up history along right hand edge
@@ -1073,33 +1071,6 @@ function htmlEncode(str) {
.replace('"', '"', 'g');
}
-function addAssignToSelfButton(d) {
- var userName = getUserName(d);
- if (userName) {
- // see if the bug is already assigned to the user
- var assignee = d.getElementById("assigned_to");
- if (assignee && assignee.value != userName) {
- var button = d.createElement("input");
- button.type = "button";
- button.value = "Assign To Me";
- button.addEventListener("click", function(e) {
- e.preventDefault();
- assignee.value = userName;
- var reset = d.getElementById("set_default_assignee");
- if (reset) {
- reset.checked = false;
- }
- container.classList.add("bz_default_hidden");
- d.getElementById("bz_assignee_input").classList.remove("bz_default_hidden");
- assignee.focus();
- button.removeEventListener("click", arguments.callee, false);
- }, false);
- var container = d.getElementById("bz_assignee_edit_container");
- container.appendChild(button);
- }
- }
-}
-
function tbplbotSpamCollapser(d) {
var collapseExpandBox = d.querySelector(".bz_collapse_expand_comments");
if (!collapseExpandBox) {