aboutsummaryrefslogtreecommitdiffstats
path: root/data/rhbzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-02-15 00:37:57 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-02-15 00:37:57 +0100
commit10dcf8de5c6965832452c538451d6170b3bafb66 (patch)
tree26a485d017ce2d3ea2032293687827f6c6d3a3e8 /data/rhbzpage.js
parent04657077ba12e8f23feaa0c3787b590c44446056 (diff)
downloadbugzilla-triage-10dcf8de5c6965832452c538451d6170b3bafb66.tar.gz
Bit of reorganization
Also add an event handler on changes in assigned_to input box
Diffstat (limited to 'data/rhbzpage.js')
-rw-r--r--data/rhbzpage.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/rhbzpage.js b/data/rhbzpage.js
index fa511c7..f0347d7 100644
--- a/data/rhbzpage.js
+++ b/data/rhbzpage.js
@@ -986,4 +986,10 @@ function RHBZinit() {
changeAssignee("default");
}, false);
}
+
+ // 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;
+ }, false);
}