]> source.dussan.org Git - jquery-ui.git/commitdiff
Selectable: add ui-selectee class to elements matching filter on refresh. Fixes ...
authorRichard D. Worth <rdworth@gmail.com>
Wed, 16 Nov 2011 15:52:12 +0000 (10:52 -0500)
committerRichard D. Worth <rdworth@gmail.com>
Wed, 16 Nov 2011 15:52:12 +0000 (10:52 -0500)
ui/jquery.ui.selectable.js

index 75f1cee66a89b6ff6b71f4b3da0cb9ccb0d18424..d7b24d4e399718c39403ef1af646d39f06a1cf60 100644 (file)
@@ -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();