diff options
author | Richard D. Worth <rdworth@gmail.com> | 2011-11-16 10:52:12 -0500 |
---|---|---|
committer | Richard D. Worth <rdworth@gmail.com> | 2011-11-16 10:52:12 -0500 |
commit | 97bc2d9de9875e222254cfa1cd3fa3bde605c2ed (patch) | |
tree | 8c222ed9d9d6ee3ddccc8c2f29badfd8bab134fb /ui/jquery.ui.selectable.js | |
parent | e5464f8f19f2026487bdffb465c6e77498449032 (diff) | |
download | jquery-ui-97bc2d9de9875e222254cfa1cd3fa3bde605c2ed.tar.gz jquery-ui-97bc2d9de9875e222254cfa1cd3fa3bde605c2ed.zip |
Selectable: add ui-selectee class to elements matching filter on refresh. Fixes #7716 - Selectable: new elements added programatically don't have class ui-selectee
Diffstat (limited to 'ui/jquery.ui.selectable.js')
-rw-r--r-- | ui/jquery.ui.selectable.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.selectable.js b/ui/jquery.ui.selectable.js index 75f1cee66..d7b24d4e3 100644 --- a/ui/jquery.ui.selectable.js +++ b/ui/jquery.ui.selectable.js @@ -34,6 +34,7 @@ $.widget("ui.selectable", $.ui.mouse, { var selectees; this.refresh = function() { selectees = $(self.options.filter, self.element[0]); + selectees.addClass("ui-selectee"); selectees.each(function() { var $this = $(this); var pos = $this.offset(); |