Page MenuHomePhabricator

Autocompletion on textareas does not work
Closed, ResolvedPublic

Description

When typing in a textarea it generates api calls for autocompletion. The URL looks like this:

http://127.0.0.1/w/api.php?substr=123

The acion parameter is missing.

This leads to an error page being sent back with which the script can not cope. The displayed spinner is never removed.

The script should

  • send the action parameter
  • fail gracefully when an error page is sent

Version: unspecified
Severity: major

Details

Reference
bz27824

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:30 PM
bzimport set Reference to bz27824.

Hi - I can't duplicate this problem; autocompletion in textareas works fine for me. Can you provide more details on how it's defined in the form? Or, even better, try to replicate it on http://scratchpad.referata.com?

Okay, I found a bug with autocompletion that happens in certain cases, and I'm guessing that's the problem you saw. I fixed it in SVN; please let me know if that worked for you.