app/soc/templates/soc/site/list/row.html
changeset 2284 e7bb719e2539
parent 903 7110fc489fd0
--- a/app/soc/templates/soc/site/list/row.html	Wed Apr 29 18:20:30 2009 +0200
+++ b/app/soc/templates/soc/site/list/row.html	Wed Apr 29 18:51:58 2009 +0200
@@ -1,5 +1,5 @@
-<tr class="off" onmouseover="this.className='on'" onmouseout="this.className='off'" 
-onclick="document.location.href='/site/edit/{{ list.item.scope_path }}/{{ list.item.link_id }}'" name="name">
+<tr class="off" onmouseover="this.className='on'; do_redirect=true" onmouseout="this.className='off'" 
+onclick="if (do_redirect) document.location.href='/site/edit/{{ list.item.scope_path }}/{{ list.item.link_id }}'" name="name">
   <td align="right">
    <div class="title">
     <a class="noul"