Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Selectable: add ui-selectee class to elements matching filter on refr…

…esh. Fixes #7716 - Selectable: new elements added programatically don't have class ui-selectee

(cherry picked from commit 97bc2d9)
  • Loading branch information...
commit e9002c4c8f04266497926419034ea44f62725bcf 1 parent 0a6ce1f
Richard D. Worth authored November 16, 2011

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  ui/jquery.ui.selectable.js
1  ui/jquery.ui.selectable.js
@@ -33,6 +33,7 @@ $.widget("ui.selectable", $.ui.mouse, {
33 33
 		var selectees;
34 34
 		this.refresh = function() {
35 35
 			selectees = $(self.options.filter, self.element[0]);
  36
+			selectees.addClass("ui-selectee");
36 37
 			selectees.each(function() {
37 38
 				var $this = $(this);
38 39
 				var pos = $this.offset();

0 notes on commit e9002c4

Please sign in to comment.
Something went wrong with that request. Please try again.