This question is in reference to Atlassian Documentation: Advanced Search for issues Autocomplete doesn't submit suggestion by a click with latest Chrome
This patch workaround didn't work for us... I'm wondering if it's because the AutoComplete-min.js wasn't replaced.
Are the instructions complete?
The code is supposed to remove
.bind("mousedown", function(e) { e.preventDefault(); });
Is that what you have in your file?
Actually, the file posted adds the code snippet you included. The diff in the kb article was backwards.
As suspected, the -min file also needs to be updated.
I'm not sure if it's supposed to be created/refreshed automatically and that's not happening. (perhaps deleting -min would cause it to be recreated).
But I manually updated the -min file to apply the same change as on the full file and after JIRA restart, the issue is fixed correctly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Whoops! I stand corrected. Lol. Read it the wrong way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter/Timothy,
I tried the workaround from the KB and it didn't work. Could you please let me know how to fix it?
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The patch/workaround is incomplete.
The AutoComplete.js file provided doesn't fully address the issue.
Another file needs to be updated/replaced. The AutComplete-min.js
You can do that by:
Copy existing $JIRA_INSTALL/atlassian-jira/includes/jira/autocomplete/AutoComplete-min.js
to AutoComplete-min.js.original
Edit $JIRA_INSTALL/atlassian-jira/includes/jira/autocomplete/AutoComplete-min.js and perform the following search and replace function:
Search for:
.bind("click",eventData,complete)
Replace with
.bind("click",eventData,complete).bind("mousedown",function(e){e.preventDefault()})Save the file
Start JIRA
This will apply the same changes that are present in the AutoComplete.js file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Peter-Dave Sheehan - This has help us resolve the issue. Thankyou so much you saved my day
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.