External onclick handler for adding keywords.

This commit is contained in:
Matthias Mees
2013-06-18 16:45:48 +02:00
parent 96e7ad74c9
commit 7818fb1c96
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -92,7 +92,7 @@
<div id="keyword_list" class="clearfix">
{foreach from=$media.keywords item="keyword"}
<a href="#" onclick="AddKeyword('{$keyword|@escape}'); return false">{$keyword|@escape}</a>
<a class="add_keyword" href="#" data-keyword="{$keyword|@escape}">{$keyword|@escape}</a>
{/foreach}
</div>
</div>