Closed (fixed)
Project:
Content Taxonomy
Version:
6.x-1.0-beta4
Component:
Autocomplete - Freetagging
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2008 at 10:09 UTC
Updated:
1 Jan 2009 at 12:30 UTC
When adding more than one multiple terms like "xxxx, yyy" , e.g "xxx, yyy" and "qqq, zzz", the script removes the quotation mark (") from the existing selected.
The text field gets the value [ xxxx, yyy, "xxx, yyy" ].
If you don't allow user to add terms, then you get an error for trying to add new terms.
I guess this is in the javascript when copying existing and adding the newest selected.
Comments
Comment #1
orjantorang commentedMy own solution looks like this:
I've added the following code in
file: content_taxonomy_autocomplete.module
row: 266
function: content_taxonomy_autocomplete_load
result: [ "qqq, zzz", "xxx, yyy" ]
Comment #2
mh86 commentedhi!
I committed this fix (a bit different, just replacing line 267 with $prefix = count($array) ? '"'. implode('", "', $array) .'", ' : '';). I hope the autocomplete is working now.
Thanks for the report.