equal
deleted
inserted
replaced
696 """<input type='text'> based ajax widget, taking a `autocomplete_initfunc` |
696 """<input type='text'> based ajax widget, taking a `autocomplete_initfunc` |
697 argument which should specify the name of a method of the json |
697 argument which should specify the name of a method of the json |
698 controller. This method is expected to return allowed values for the input, |
698 controller. This method is expected to return allowed values for the input, |
699 that the widget will use to propose matching values as you type. |
699 that the widget will use to propose matching values as you type. |
700 """ |
700 """ |
701 needs_js = ('cubicweb.widgets.js', 'jquery.autocomplete.js') |
701 needs_js = ('cubicweb.widgets.js', 'jquery.ui.js') |
702 needs_css = ('jquery.autocomplete.css',) |
702 needs_css = ('jquery.ui.css',) |
703 wdgtype = 'SuggestField' |
703 wdgtype = 'SuggestField' |
704 loadtype = 'auto' |
704 loadtype = 'auto' |
705 |
705 |
706 def __init__(self, *args, **kwargs): |
706 def __init__(self, *args, **kwargs): |
707 try: |
707 try: |