Skip to content

Commit

Permalink
Disable selectFirst in the autocomplete box, which makes it a little
Browse files Browse the repository at this point in the history
harder to select pre-existing tags, but avoids the problem where we
force the user to pick from existing tags.  Fixes ticket #1339
  • Loading branch information
bharat committed Sep 7, 2010
1 parent 7c80bc0 commit d398651
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/tag/views/tag_block.html.php
Expand Up @@ -7,7 +7,8 @@
max: 30,
multiple: true,
multipleSeparator: ',',
cacheLength: 1
cacheLength: 1,
selectFirst: false,
}
);
$("#g-add-tag-form").ajaxForm({
Expand All @@ -24,4 +25,4 @@
<div id="g-tag-cloud" ref="<?= url::site("tags") ?>">
<?= $cloud ?>
</div>
<?= $form ?>
<?= $form ?>

0 comments on commit d398651

Please sign in to comment.