aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/bzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-05-06 19:46:42 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-06-05 14:52:35 +0200
commitda71521fe0a926a82c682d02688895c41d9d22fb (patch)
treefead49c8aa8d469f9bed5445d3571fda1000f6a3 /data/lib/bzpage.js
parent49feb276224dfa812339b94cfe52ea8f0ee5c491 (diff)
downloadbugzilla-triage-da71521fe0a926a82c682d02688895c41d9d22fb.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.js2
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();
}
/**