summaryrefslogtreecommitdiff
path: root/modules/tag/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tag/helpers')
-rw-r--r--modules/tag/helpers/tag_event.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/tag/helpers/tag_event.php b/modules/tag/helpers/tag_event.php
index 7becf36f..0cb49ffa 100644
--- a/modules/tag/helpers/tag_event.php
+++ b/modules/tag/helpers/tag_event.php
@@ -68,7 +68,11 @@ class tag_event_Core {
$url = url::site("tags/autocomplete");
$view->script[] = "$('#gEditFormContainer form').ready(function() {
$('#gEditFormContainer form input[id=tags]').autocomplete(
- '$url', {max: 30, formatResult: formatTagAutoCompleteResult}
+ '$url',
+ {max: 30,
+ multiple: true,
+ multipleSeparator: ',',
+ cacheLength: 1}
);
});";
$tag_value = implode(", ", tag::item_tags($item));