github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 563
    • 91
  • Source
  • Commits
  • Network (91)
  • Graphs
  • Tree: 05725e2

click here to add a description

click here to add a homepage

  • Switch Branches (7)
    • bind
    • devpreview
    • formcontrols
    • master
    • menu
    • panel
    • tooltip
  • Switch Tags (18)
    • 1.9m1
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8.2
    • 1.8.1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
  • Contributors
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

Selectable: Add default CSS for ui-selectable-helper to CSS framework to allow 
user override. Fixes #5607 - Selectable has helper css hardcoded in JS
ajpiano (author)
Tue May 11 23:32:14 -0700 2010
rdworth (committer)
Thu May 13 07:35:40 -0700 2010
commit  05725e25aea335ecb9c7
tree    2ebd72f0f14093449e11
parent  dc646c01fe97b54e3bb4
M themes/base/jquery.ui.base.css 1 •
A themes/base/jquery.ui.selectable.css 3 •••
M ui/jquery.ui.selectable.js 4 ••••
Txt themes/base/jquery.ui.base.css
  • View file @ 05725e2
... ...
@@ -7,5 +7,6 @@
7 7
 @import url("jquery.ui.dialog.css");
8 8
 @import url("jquery.ui.progressbar.css");
9 9
 @import url("jquery.ui.resizable.css");
  10
+@import url("jquery.ui.selectable.css");
10 11
 @import url("jquery.ui.slider.css");
11 12
 @import url("jquery.ui.tabs.css");
Txt themes/base/jquery.ui.selectable.css
  • View file @ 05725e2
... ...
@@ -0,0 +1,3 @@
  1
+/* Selectable
  2
+----------------------------------*/
  3
+.ui-selectable-helper { border:1px dotted black }
Txt ui/jquery.ui.selectable.js
  • View file @ 05725e2
... ...
@@ -57,9 +57,7 @@ $.widget("ui.selectable", $.ui.mouse, {
57 57
 
58 58
     this._mouseInit();
59 59
 
60  
-    this.helper = $(document.createElement('div'))
61  
-      .css({border:'1px dotted black'})
62  
-      .addClass("ui-selectable-helper");
  60
+    this.helper = $("<div class='ui-selectable-helper'>");
63 61
   },
64 62
 
65 63
   destroy: function() {

0 notes on commit 05725e2

Please log in to comment.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server