diff options
Diffstat (limited to 'demos/autocomplete/categories.html')
-rw-r--r-- | demos/autocomplete/categories.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/autocomplete/categories.html b/demos/autocomplete/categories.html index 6601ebc1c..e3c59ba13 100644 --- a/demos/autocomplete/categories.html +++ b/demos/autocomplete/categories.html @@ -21,6 +21,10 @@ </style> <script> $.widget( "custom.catcomplete", $.ui.autocomplete, { + _create: function() { + this._super(); + this.menu.option( "items", "> :not(.ui-autocomplete-category)" ); + }, _renderMenu: function( ul, items ) { var that = this, currentCategory = ""; |