From bc46fc151e608c05cc23463792d5bc37862d073d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Tue, 19 Oct 2010 23:19:27 +0200 Subject: [PATCH] Fix jobterms ajax when smarty debug is enabled. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- templates/include/jobterms.branch.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/include/jobterms.branch.tpl b/templates/include/jobterms.branch.tpl index 71a384c..7e19811 100644 --- a/templates/include/jobterms.branch.tpl +++ b/templates/include/jobterms.branch.tpl @@ -27,7 +27,7 @@ {ldelim} "data" : {ldelim} - "title" : "{$term.name|replace:'"':'\\"'}{if $filter} ({$term.nb} {$filter}{if $term.nb > 1}s{/if}){/if}", + "title" : "{$term.name|replace:'"':'\\"'}{if t($filter)} ({$term.nb} {$filter}{if $term.nb > 1}s{/if}){/if}", "attr" : {ldelim} {if $attrfunc}"href" : "javascript:{$attrfunc}('{$treeid}','{$term.jtid}',\"{$term.full_name|replace:'"':'\\\\\\"'}\")",{/if} "title" : "{$term.full_name|replace:'"':'\\"'}" -- 2.1.4