diff options
Diffstat (limited to 'install/ui/widget.js')
-rw-r--r-- | install/ui/widget.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js index 0889ee0b..41767118 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); } |