• Luke Bennett's avatar
    Changed autocomplete_sources into an action that returns a single 'at' type of sources at a time · 1356e40f
    Luke Bennett authored
    Finished up autocomplete_sources action and added frontend to fetch data only when its needed
    
    Added wait_for_ajax to specs
    
    Fixed builds and improved the setup/destroy lifecycle
    
    Changed global namespace and DRYed up loading logic
    
    Added safety for accidentally loading data twice
    
    Removed destroy as its not necessary and is messing with click events from a blur race condition
    
    Created AutocompleteSourcesController and updated routes
    
    Fixed @undefined from tabbing before load ends
    
    Disable tabSelectsMatch until we have loaded data
    
    Review changes
    1356e40f
participants_autocomplete_spec.rb 2.7 KB