diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-05-06 19:46:42 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-05-06 19:46:42 +0200 |
commit | 26d9750031c4c45cb63feb0c0bce2f8ac7de238e (patch) | |
tree | 3a3e413985c05591993aa170d34cd857b5375d3b /data/lib/bzpage.js | |
parent | 63c0e1c9ebeacb7bf103fcd35f7ee03d5f432756 (diff) | |
download | bugzilla-triage-26d9750031c4c45cb63feb0c0bce2f8ac7de238e.tar.gz |
Removing unimportant parts of the page as a prevention against #65
There is now complete analysis of the issue, but I don’t know how to fix
it, because we just write into various input boxes and they got focus (and
subsequently Firefox makes them visible).
Diffstat (limited to 'data/lib/bzpage.js')
-rw-r--r-- | data/lib/bzpage.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/lib/bzpage.js b/data/lib/bzpage.js index 296fe29..7b8a764 100644 --- a/data/lib/bzpage.js +++ b/data/lib/bzpage.js @@ -215,6 +215,7 @@ function changeAssignee (newAssignee) { } } + var saveFocus = document.activeElement; if (newAssignee) { clickMouse("bz_assignee_edit_action"); document.getElementById("assigned_to").value = newAssignee; @@ -224,6 +225,7 @@ function changeAssignee (newAssignee) { defAssigneeButton.style.display = "none"; } } + saveFocus.focus(); } /** |