Proper camel-casing for this particular function's name.
This commit is contained in:
@ -86,7 +86,7 @@ function showFilters() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add another (image) keyword
|
// Add another (image) keyword
|
||||||
function AddKeyword(keyword) {
|
function addKeyword(keyword) {
|
||||||
s = document.getElementById('keyword_input').value;
|
s = document.getElementById('keyword_input').value;
|
||||||
document.getElementById('keyword_input').value = (s != '' ? s + ';' : '') + keyword;
|
document.getElementById('keyword_input').value = (s != '' ? s + ';' : '') + keyword;
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
<div id="keyword_list" class="clearfix">
|
<div id="keyword_list" class="clearfix">
|
||||||
{foreach from=$media.keywords item="keyword"}
|
{foreach from=$media.keywords item="keyword"}
|
||||||
<a href="#" onclick="AddKeyword('{$keyword|@escape}'); return false">{$keyword|@escape}</a>
|
<a href="#" onclick="addKeyword('{$keyword|@escape}'); return false">{$keyword|@escape}</a>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user