diff --git a/admin/themes/default/template/tags.tpl b/admin/themes/default/template/tags.tpl index 09d000c86..9ca054f14 100644 --- a/admin/themes/default/template/tags.tpl +++ b/admin/themes/default/template/tags.tpl @@ -119,7 +119,7 @@ jQuery('.showInfo').tipTip({ {if count($all_tags)}
{footer_script}{literal} -$("#searchInput").on( "keydown", function() { +$("#searchInput").on( "keydown", function(e) { var $this = $(this), timer = $this.data("timer"); if (timer) @@ -145,6 +145,10 @@ $("#searchInput").on( "keydown", function() { } }, 300) ); + + if (e.keyCode == 13) { // Enter + e.preventDefault(); + } }); {/literal}{/footer_script} {/if}