diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-02-12 21:17:00 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-02-12 21:17:00 +0000 |
commit | 0f3def0d84b5c9af737800380a5431e4fdeae63e (patch) | |
tree | 3880c42f0a4a5f638d45d6b6cc4a8b8c0429455e | |
parent | 84f7c90fc82fa551f12122f0672775a5f7076933 (diff) | |
download | jquery-ui-0f3def0d84b5c9af737800380a5431e4fdeae63e.tar.gz jquery-ui-0f3def0d84b5c9af737800380a5431e4fdeae63e.zip |
Fixed missing variable in menu's refresh method.
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index f6450d00e..ff132cf8f 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -320,6 +320,8 @@ $.widget("ui.menu", { }, refresh: function() { + var self = this; + // don't refresh list items that are already adapted var items = this.element.children("li:not(.ui-menu-item)") .addClass("ui-menu-item") @@ -454,4 +456,4 @@ $.widget("ui.menu", { } }); -})(jQuery);
\ No newline at end of file +})(jQuery); |