// fix category tree if tree but maybe no tree
This commit is contained in:
1 parent
f92ea0e224
commit
707a6a1997
1 file changed
+1
-1
@@ -1,5 +1,6 @@
|
|||||||
{extends file="helper/list/list_header.tpl"}
|
{extends file="helper/list/list_header.tpl"}
|
||||||
{block name=leadin}
|
{block name=leadin}
|
||||||
|
{if isset($category_tree)}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$('#go_to_categ').bind('change', function(){
|
$('#go_to_categ').bind('change', function(){
|
||||||
@@ -11,7 +12,6 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{if isset($category_tree)}
|
|
||||||
{l s='Go to category:'}
|
{l s='Go to category:'}
|
||||||
<select id="go_to_categ" name="go_to_categ">
|
<select id="go_to_categ" name="go_to_categ">
|
||||||
{foreach from=$category_tree item=categ}
|
{foreach from=$category_tree item=categ}
|
||||||
|
|||||||
Reference in new issue
Block a user