X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fjobterms.branch.tpl;h=6bcd8b577437137946a3fdf2e6b976040c91d620;hb=ca5367b747459b0984054e2f859ffdf69bbe803c;hp=c527e8a6e28611b9a27cb480dd91b641518f767a;hpb=020a95fa78dc544b3064739d409026a0056d98f4;p=platal.git diff --git a/templates/include/jobterms.branch.tpl b/templates/include/jobterms.branch.tpl index c527e8a..6bcd8b5 100644 --- a/templates/include/jobterms.branch.tpl +++ b/templates/include/jobterms.branch.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2011 Polytechnique.org *} +{* Copyright (C) 2003-2013 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -29,7 +29,7 @@ {ldelim} "title" : "{$term.name|replace:'"':'\\"'}{if t($filter)} ({$term.nb} {$filter}{if $term.nb > 1}s{/if}){/if}", "attr" : {ldelim} - {if !$jtid}"onclick" : "return false", + {if !$jtid}"href" : "javascript:void(0)", {elseif $attrfunc}"href" : "javascript:{$attrfunc}('{$treeid}','{$term.jtid}',\"{$term.full_name|replace:'"':'\\\\\\"'}\")",{/if} "title" : "{$term.full_name|replace:'"':'\\"'}" {rdelim}