From 89ae7641b0cb7054d0a7ea8617ae27c31e1749b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rn=20Zaefferer?= Date: Wed, 13 Nov 2013 19:17:51 +0100 Subject: [PATCH] Autocomplete: Update categories demo again, use only public properties to update menu option --- demos/autocomplete/categories.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/autocomplete/categories.html b/demos/autocomplete/categories.html index e3c59ba13..3c436efbd 100644 --- a/demos/autocomplete/categories.html +++ b/demos/autocomplete/categories.html @@ -23,7 +23,7 @@ $.widget( "custom.catcomplete", $.ui.autocomplete, { _create: function() { this._super(); - this.menu.option( "items", "> :not(.ui-autocomplete-category)" ); + this.widget().menu( "option", "items", "> :not(.ui-autocomplete-category)" ); }, _renderMenu: function( ul, items ) { var that = this,