From: Richard D. Worth Date: Wed, 26 May 2010 22:42:24 +0000 (-0400) Subject: Selectable: moved position absolute and z-index to css. Fixed #4475 - Selectable... X-Git-Tag: 1.9m2~1^2~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a90e195489915ed8a6d66005adea7844cbabe3e7;p=jquery-ui.git Selectable: moved position absolute and z-index to css. Fixed #4475 - Selectable helper has z-index hard coded --- 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,