summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/ui/ipa.css1
-rw-r--r--install/ui/widget.js12
2 files changed, 13 insertions, 0 deletions
diff --git a/install/ui/ipa.css b/install/ui/ipa.css
index 76ce265f0..4f9d35c1d 100644
--- a/install/ui/ipa.css
+++ b/install/ui/ipa.css
@@ -39,6 +39,7 @@ html {
body {
overflow: auto;
+ position: relative;
background: url(images/outer-background.png);
background-repeat: repeat-x;
background-position: left top;
diff --git a/install/ui/widget.js b/install/ui/widget.js
index 0889ee0be..41767118e 100644
--- a/install/ui/widget.js
+++ b/install/ui/widget.js
@@ -1371,6 +1371,18 @@ IPA.table_widget = function (spec) {
that.tbody = $('<tbody/>').appendTo(that.table);
+ // workaround for #2835
+ if ($.browser.msie) {
+ that.tbody.mousedown(function(event) {
+ that.scroll_top = that.tbody.scrollTop();
+ window.setTimeout(function() {
+ if (that.tbody.scrollTop() === 0) {
+ that.tbody.scrollTop(that.scroll_top);
+ }
+ }, 0);
+ });
+ }
+
if (that.height) {
that.tbody.css('height', that.height);
}