Permalink
Browse files

Merge pull request #991 from croby/SAKIII-3713

SAKIII-3713 IE9 dashboard widget settings menu placement
  • Loading branch information...
2 parents 5b919b3 + 33c8926 commit 06f856bc226150d243cc4be5c53465b0f8dae96b Bert Pareyn committed Aug 1, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 devwidgets/dashboard/javascript/dashboard.js
@@ -394,8 +394,8 @@ require(["jquery", "sakai/sakai.api.core", "fluid/3akai_Infusion"], function($,
var x = $(this).position().left;
var y = $(this).position().top;
$("#widget_settings_menu", $rootel).css("left", x - $("#widget_settings_menu", $rootel).width() + 28 + "px");
- if ($.browser.msie) {
- $("#widget_settings_menu", $rootel).css("top", document.documentElement.scrollTop + y + 24 + "px");
+ if ($.browser.msie && parseInt($.browser.version, 10) < 9) {
+ $("#widget_settings_menu", $rootel).css("top", document.documentElement.scrollTop + y + 24 + "px");
} else {
$("#widget_settings_menu", $rootel).css("top", y + 24 + "px");
}

0 comments on commit 06f856b

Please sign in to comment.