Commits

jalijaak  committed 775f165

delete task triggering resolved by alex

  • Participants
  • Parent commits 93fd0ee

Comments (0)

Files changed (1)

File taskhood/templates/tasks_tab.html

                             <input id="edit_submit_{{obj.key}}" type="hidden" src="/site_media/css/images/check/up.gif" onclick="document.getElementById('tasks_form').submit();" title="Accept Changes"/>
                             <input id="edit_image_{{obj.key}}" type="image" onclick="edit_items('{{obj.key}}', '{{obj.status}}');" src="/site_media/css/images/edit/up.gif" title="Edit Task"/>
                         </td><td>
-                        <form method="POST" action="/delete_task/{{obj.key}}/{{tasklist_key}}/" id="delete_task2">
+                        <!--<form method="POST" action="/delete_task/{{obj.key}}/{{tasklist_key}}/" id="delete_task2">
                             <input class="delete" type="image" onclick="document.getElementById('delete_task2').submit();" src="/site_media/css/images/delete/up.gif" onmouseover="this.src='/site_media/css/images/delete/over.gif';" onmouseout="this.src='/site_media/css/images/delete/up.gif';" title="Delete Task"/>
-                        </form>
+                        </form>-->
+						<a href="/delete_task/{{obj.key}}/{{tasklist_key}}/">
+							<img src="/site_media/css/images/delete/up.gif" onmouseover="this.src='/site_media/css/images/delete/over.gif';" onmouseout="this.src='/site_media/css/images/delete/up.gif'" title="Delete Task"/>
+							</a>
                         </td></tr></table>
                     </td>
                 </tr>