From bb040cfb78d53696edd63bf256d0fd8ba3ccdbfa Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 30 Jan 2016 22:25:16 -0500 Subject: Simplify code to handle ajax popover and redirects --- app/Template/task_external_link/find.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'app/Template/task_external_link/find.php') diff --git a/app/Template/task_external_link/find.php b/app/Template/task_external_link/find.php index a2304014..36a031d3 100644 --- a/app/Template/task_external_link/find.php +++ b/app/Template/task_external_link/find.php @@ -2,7 +2,7 @@

-
+ form->csrf() ?> form->hidden('task_id', array('task_id' => $task['id'])) ?> @@ -23,10 +23,6 @@
- - url->link(t('cancel'), 'board', 'show', array('project_id' => $task['project_id']), false, 'close-popover') ?> - - url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> - + url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?>
\ No newline at end of file -- cgit v1.2.3