Closed (fixed)
Project:
Fast Autocomplete
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2016 at 10:06 UTC
Updated:
24 Jan 2018 at 10:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
askibinski commentedHere is a patch which adds a setting for the jQuery selector. If left empty the default method (closest form) is used.
Comment #3
askibinski commented(double post)
Comment #5
askibinski commentedThis patch needs a bit work because the onmousedown event for the SeeAllLinks button doesn't work anymore if you inject the results in a different spot. That's because the js looks for a closest form relative from the seeAlllink.
I would not like to add another setting for the search-form, since it kinda overlaps with the "Inputs to enable Fast Autocomplete on" settings. Problem is the latter can be multiple elements and also isn't available as an option yet.
Thoughts?
Comment #6
mbroere commentedThanks for the patch askibinski. I adjusted it so the seeAllLink also keeps working when the result location is set. The input for the result location also checks if unwanted space or comma are used.
Comment #7
marty2081 commentedComment #10
marty2081 commentedCommitted to dev. Thanks for both patches and sorry for the late response.
Comment #12
askibinski commentedJust posting this additional patch here for reference, making the form submit selector configurable.
(no need for further action)
Comment #13
ralphvdhoudt commentedFix solution #7 for usage after applying #2
@Marty208: Should I open a new ticket for this?
Comment #14
joshahubbers commentedModified the patch in #13 to work with the latest version of the module.
Comment #15
joshahubbers commentedDuh, posted the wrong patch. Excuse me!