From e9002c4c8f04266497926419034ea44f62725bcf Mon Sep 17 00:00:00 2001 From: "Richard D. Worth" Date: Wed, 16 Nov 2011 10:52:12 -0500 Subject: [PATCH] Selectable: add ui-selectee class to elements matching filter on refresh. Fixes #7716 - Selectable: new elements added programatically don't have class ui-selectee (cherry picked from commit 97bc2d9de9875e222254cfa1cd3fa3bde605c2ed) --- ui/jquery.ui.selectable.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/jquery.ui.selectable.js b/ui/jquery.ui.selectable.js index fa7d01122..19ed1fbd7 100644 --- a/ui/jquery.ui.selectable.js +++ b/ui/jquery.ui.selectable.js @@ -33,6 +33,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(); -- 2.39.5