From 89985db6035b3c9cef04fd5d89b7d10a04fd04b5 Mon Sep 17 00:00:00 2001 From: jwollert Date: Tue, 28 Jun 2011 18:01:45 +0200 Subject: [PATCH] fix IE7 z-index bugs in taskboard when dragging issues --- assets/javascripts/app/taskboard.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/javascripts/app/taskboard.js b/assets/javascripts/app/taskboard.js index e980c47400..a50fedb591 100644 --- a/assets/javascripts/app/taskboard.js +++ b/assets/javascripts/app/taskboard.js @@ -81,6 +81,11 @@ RB.Taskboard = (function ($) { dragStop: function (e, ui) { ui.item.removeClass("dragging"); + + // FIXME: workaround for IE7 + if ($.browser.msie && $.browser.version <= 7) { + ui.item.css("z-index", 0); + } }, handleAddNewImpedimentClick: function (e) {