diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-02-16 18:38:10 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-02-16 18:38:10 +0100 |
commit | 1e60a32939f90ebd576da0a4e1c04c6c09394e31 (patch) | |
tree | 7b5cf2981bc6dc7044ee2860c67d6564c2f179f2 | |
parent | d448b16f969be780444190d178dad4c8b2347612 (diff) | |
download | bugzilla-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.
-rw-r--r-- | bugs/issue-237027cea4bc85bfad8931daa7143ac13293d7fd.yaml | 8 | ||||
-rw-r--r-- | bugs/issue-7511cacab3bd611fd72ada886a2d3735d02e281a.yaml | 8 | ||||
-rw-r--r-- | data/bzpage.js | 2 | ||||
-rw-r--r-- | data/rhbzpage.js | 2 |
4 files changed, 14 insertions, 6 deletions
diff --git a/bugs/issue-237027cea4bc85bfad8931daa7143ac13293d7fd.yaml b/bugs/issue-237027cea4bc85bfad8931daa7143ac13293d7fd.yaml index 483f33c..5749e0f 100644 --- a/bugs/issue-237027cea4bc85bfad8931daa7143ac13293d7fd.yaml +++ b/bugs/issue-237027cea4bc85bfad8931daa7143ac13293d7fd.yaml @@ -5,8 +5,8 @@ type: :bugfix component: bugzilla-triage release: reporter: Matej Cepl <mcepl@redhat.com> -status: :unstarted -disposition: +status: :closed +disposition: :fixed creation_time: 2011-02-14 16:24:37.870775 Z references: [] @@ -16,4 +16,8 @@ log_events: - Matej Cepl <mcepl@redhat.com> - created - "" +- - 2011-02-16 17:36:44.048519 Z + - Matej Cepl <mcepl@redhat.com> + - closed with disposition fixed + - Wrong ID used for "Def. Assignee" button. trac_id: diff --git a/bugs/issue-7511cacab3bd611fd72ada886a2d3735d02e281a.yaml b/bugs/issue-7511cacab3bd611fd72ada886a2d3735d02e281a.yaml index ed4bea6..925d08c 100644 --- a/bugs/issue-7511cacab3bd611fd72ada886a2d3735d02e281a.yaml +++ b/bugs/issue-7511cacab3bd611fd72ada886a2d3735d02e281a.yaml @@ -5,8 +5,8 @@ type: :bugfix component: bugzilla-triage release: reporter: Matej Cepl <mcepl@redhat.com> -status: :unstarted -disposition: +status: :closed +disposition: :fixed creation_time: 2011-02-14 16:50:55.160771 Z references: [] @@ -16,4 +16,8 @@ log_events: - Matej Cepl <mcepl@redhat.com> - created - "" +- - 2011-02-16 17:01:38.601715 Z + - Matej Cepl <mcepl@redhat.com> + - closed with disposition fixed + - fixed in the previous commit. trac_id: 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); } |