diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-09-07 00:34:41 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-09-07 00:34:41 -0700 |
commit | d398651c080c18e4f1bf623548091465dac1d528 (patch) | |
tree | ed404e8599e618db19e13b50437d7dcfd0390cbd /modules/tag/views | |
parent | 7c80bc0c3db1ca20ce424a36a05f1337de9e1e31 (diff) |
Disable selectFirst in the autocomplete box, which makes it a little
harder to select pre-existing tags, but avoids the problem where we
force the user to pick from existing tags. Fixes ticket #1339
Diffstat (limited to 'modules/tag/views')
-rw-r--r-- | modules/tag/views/tag_block.html.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/tag/views/tag_block.html.php b/modules/tag/views/tag_block.html.php index 8b887282..cc204c72 100644 --- a/modules/tag/views/tag_block.html.php +++ b/modules/tag/views/tag_block.html.php @@ -7,7 +7,8 @@ max: 30, multiple: true, multipleSeparator: ',', - cacheLength: 1 + cacheLength: 1, + selectFirst: false, } ); $("#g-add-tag-form").ajaxForm({ @@ -24,4 +25,4 @@ <div id="g-tag-cloud" ref="<?= url::site("tags") ?>"> <?= $cloud ?> </div> -<?= $form ?>
\ No newline at end of file +<?= $form ?> |