From: Pascal Corpet Date: Tue, 26 Oct 2010 07:17:04 +0000 (+0200) Subject: jobterms fix: JsON validation X-Git-Tag: xorg/1.0.1~5 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=407c389e4e6c4e8d4975b7b78aefcf2056085c03;p=platal.git jobterms fix: JsON validation --- 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}