Skip to content
Permalink
Browse files

Selectable: Add default CSS for ui-selectable-helper to CSS framework…

… to allow user override. Fixes #5607 - Selectable has helper css hardcoded in JS
  • Loading branch information...
ajpiano authored and rdworth committed May 12, 2010
1 parent dc646c0 commit 05725e25aea335ecb9c7cf3b03eba8ee68153fb5
Showing with 5 additions and 3 deletions.
  1. +1 −0 themes/base/jquery.ui.base.css
  2. +3 −0 themes/base/jquery.ui.selectable.css
  3. +1 −3 ui/jquery.ui.selectable.js
@@ -7,5 +7,6 @@
@import url("jquery.ui.dialog.css");
@import url("jquery.ui.progressbar.css");
@import url("jquery.ui.resizable.css");
@import url("jquery.ui.selectable.css");
@import url("jquery.ui.slider.css");
@import url("jquery.ui.tabs.css");
@@ -0,0 +1,3 @@
/* Selectable
----------------------------------*/
.ui-selectable-helper { border:1px dotted black }
@@ -57,9 +57,7 @@ $.widget("ui.selectable", $.ui.mouse, {

this._mouseInit();

this.helper = $(document.createElement('div'))
.css({border:'1px dotted black'})
.addClass("ui-selectable-helper");
this.helper = $("<div class='ui-selectable-helper'>");
},

destroy: function() {

0 comments on commit 05725e2

Please sign in to comment.
You can’t perform that action at this time.