jQueryUI_Autocomplete Missing Dependency


I downloaded the 1.x branch and when I attempted to add a filter to a query in the backend (admin) in Chrome the console would throw this error:

Uncaught TypeError: Object [object Object] has no method 'menu'

I edited the ResourceManifest.cs file and changed this:

manifest.DefineScript("jQueryUI_Autocomplete").SetUrl("jquery.ui.autocomplete.min.js", "jquery.ui.autocomplete.js").SetVersion("1.9.2").SetDependencies("jQueryUI_Core", "jQueryUI_Widget", "jQueryUI_Position");

to this:

manifest.DefineScript("jQueryUI_Autocomplete").SetUrl("jquery.ui.autocomplete.min.js", "jquery.ui.autocomplete.js").SetVersion("1.9.2").SetDependencies("jQueryUI_Core", "jQueryUI_Widget", "jQueryUI_Position", "jQueryUI_Menu");

After changing and rebuilding I no longer get the error message and I am able to view the tokens (i.e. {Content.Id}) when building my filter.
Closed Apr 6, 2013 at 7:07 PM by agriffard


JasperD wrote Apr 4, 2013 at 9:19 PM

agriffard wrote Apr 6, 2013 at 7:07 PM