Fixes clicks on main jobTree titles (Closes #1589).
authorStéphane Jacob <sj@m4x.org>
Mon, 9 Apr 2012 21:53:35 +0000 (23:53 +0200)
committerStéphane Jacob <sj@m4x.org>
Mon, 9 Apr 2012 21:53:35 +0000 (23:53 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
ChangeLog
templates/include/jobterms.branch.tpl

index 1fef152..9436373 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,9 @@ Bug/Wish:
         - #1597: Fixes reactivation of broken and suspended emails         -JAC
         - #1601: Displays errors and warnings when adding people to ML     -JAC
 
+    * Profile:
+        - #1589: Fixes clicks on main jobTree titles                       -JAC
+
     * Search:
         - #1572: Removes remaining results count from queries              -JAC
         - #1574: Correctly displays State corps                            -GLN
index c527e8a..ecaa13b 100644 (file)
@@ -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:return false;",
         {elseif $attrfunc}"href" : "javascript:{$attrfunc}('{$treeid}','{$term.jtid}',\"{$term.full_name|replace:'"':'\\\\\\"'}\")",{/if}
         "title" : "{$term.full_name|replace:'"':'\\"'}"
       {rdelim}