From 746e1a4e3df31cfdaa15101c3fb8f7c4ea1adc46 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 30 Jan 2015 22:06:10 -0500 Subject: Clicking on cancel inside a popover doesn't reload the page --- app/Template/task/edit.php | 2 +- app/Template/task/new.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Template/task') diff --git a/app/Template/task/edit.php b/app/Template/task/edit.php index 0df1676b..f9ac2b20 100644 --- a/app/Template/task/edit.php +++ b/app/Template/task/edit.php @@ -59,7 +59,7 @@ - a(t('cancel'), 'board', 'show', array('project_id' => $task['project_id'])) ?> + a(t('cancel'), 'board', 'show', array('project_id' => $task['project_id']), false, 'close-popover') ?> a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> diff --git a/app/Template/task/new.php b/app/Template/task/new.php index 5eef9923..e64effde 100644 --- a/app/Template/task/new.php +++ b/app/Template/task/new.php @@ -74,7 +74,7 @@
- a(t('cancel'), 'board', 'show', array('project_id' => $values['project_id'])) ?> + a(t('cancel'), 'board', 'show', array('project_id' => $values['project_id']), false, 'close-popover') ?>
-- cgit v1.2.3