From a90e195489915ed8a6d66005adea7844cbabe3e7 Mon Sep 17 00:00:00 2001 From: "Richard D. Worth" Date: Wed, 26 May 2010 18:42:24 -0400 Subject: Selectable: moved position absolute and z-index to css. Fixed #4475 - Selectable helper has z-index hard coded --- themes/base/jquery.ui.selectable.css | 2 +- ui/jquery.ui.selectable.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/themes/base/jquery.ui.selectable.css b/themes/base/jquery.ui.selectable.css index c5d46ce24..639bcfc5a 100644 --- a/themes/base/jquery.ui.selectable.css +++ b/themes/base/jquery.ui.selectable.css @@ -1,3 +1,3 @@ /* Selectable ----------------------------------*/ -.ui-selectable-helper { border:1px dotted black } +.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } diff --git a/ui/jquery.ui.selectable.js b/ui/jquery.ui.selectable.js index 89d9b0836..04c27e353 100644 --- a/ui/jquery.ui.selectable.js +++ b/ui/jquery.ui.selectable.js @@ -90,8 +90,6 @@ $.widget("ui.selectable", $.ui.mouse, { $(options.appendTo).append(this.helper); // position helper (lasso) this.helper.css({ - "z-index": 100, - "position": "absolute", "left": event.clientX, "top": event.clientY, "width": 0, -- cgit v1.2.3