diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-27 18:04:55 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-27 18:04:55 -0700 |
| commit | 4b6775e614040e91fce8a142f840d44258713a85 (patch) | |
| tree | 5d49b1643c725cca36eb80c88fad4e50e3986e2f /modules/tag/views | |
| parent | a4c807232abaa4edd501ad5f4d7f06dac64f7ff8 (diff) | |
Clean up amd simplify the tag processing: Only allow comma separators between
phrases. Using only 1 separator cleans up the javascript as well, as we
can use some of the jquery autocomplete to set the tag separator.
Diffstat (limited to 'modules/tag/views')
| -rw-r--r-- | modules/tag/views/tag_block.html.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/tag/views/tag_block.html.php b/modules/tag/views/tag_block.html.php index 233eb361..59a4ef88 100644 --- a/modules/tag/views/tag_block.html.php +++ b/modules/tag/views/tag_block.html.php @@ -5,7 +5,9 @@ $("#gAddTagForm input:text").autocomplete( url, { max: 30, - formatResult: formatTagAutoCompleteResult} + multiple: true, + multipleSeparator: ',', + cacheLength: 1} ); }); </script> |
