From 407c389e4e6c4e8d4975b7b78aefcf2056085c03 Mon Sep 17 00:00:00 2001 From: Pascal Corpet Date: Tue, 26 Oct 2010 09:17:04 +0200 Subject: [PATCH] jobterms fix: JsON validation --- templates/include/jobterms.branch.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/include/jobterms.branch.tpl b/templates/include/jobterms.branch.tpl index 53fce45..dc0a758 100644 --- a/templates/include/jobterms.branch.tpl +++ b/templates/include/jobterms.branch.tpl @@ -34,9 +34,9 @@ "title" : "{$term.full_name|replace:'"':'\\"'}" {rdelim} {rdelim}, - "attr" : {ldelim} "id" : "job_terms_tree_{$treeid}_{$term.jtid}" {rdelim}, + "attr" : {ldelim} "id" : "job_terms_tree_{$treeid}_{$term.jtid}" {rdelim} {if !$term.leaf} - "state": "closed" + ,"state": "closed" {/if} {rdelim} {/iterate} -- 2.1.4