aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-02-16 18:38:10 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-02-16 18:38:10 +0100
commit1e60a32939f90ebd576da0a4e1c04c6c09394e31 (patch)
tree7b5cf2981bc6dc7044ee2860c67d6564c2f179f2 /data
parentd448b16f969be780444190d178dad4c8b2347612 (diff)
downloadbugzilla-triage-1e60a32939f90ebd576da0a4e1c04c6c09394e31.tar.gz
"Def. assignee" button now hides when it is used.
* I used wrong ID for it. * also don't manually set default assignee when we have special parameter null for changeAssignee. Use it.
Diffstat (limited to 'data')
-rw-r--r--data/bzpage.js2
-rw-r--r--data/rhbzpage.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/bzpage.js b/data/bzpage.js
index 7d59f22..208f64f 100644
--- a/data/bzpage.js
+++ b/data/bzpage.js
@@ -234,7 +234,7 @@ function changeAssignee (newAssignee) {
clickMouse("bz_assignee_edit_action");
document.getElementById("assigned_to").value = newAssignee;
document.getElementById("set_default_assignee").checked = false;
- defAssigneeButton = document.getElementById("setDefaultAssignee_btn");
+ defAssigneeButton = document.getElementById("defassignee_btn");
if (defAssigneeButton) {
defAssigneeButton.style.display = "none";
}
diff --git a/data/rhbzpage.js b/data/rhbzpage.js
index 3eaed66..d12b4a1 100644
--- a/data/rhbzpage.js
+++ b/data/rhbzpage.js
@@ -982,6 +982,6 @@ function RHBZinit() {
// Uncheck "set default assignee" when the assignee is changed by other means
document.getElementById("assigned_to").addEventListener("change",
function() {
- document.getElementById("set_default_assignee").checked = false;
+ changeAssignee(null);
}, false);
}