summaryrefslogtreecommitdiff
path: root/app/Template/task/edit.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-01-30 22:06:10 -0500
committerFrederic Guillot <fred@kanboard.net>2015-01-30 22:06:10 -0500
commit746e1a4e3df31cfdaa15101c3fb8f7c4ea1adc46 (patch)
tree406df248442ad95eb077a61edd4dbb2a8d23b005 /app/Template/task/edit.php
parent5efb06f6f3d4f0a1cc70fcae01496e1ec18eaaa5 (diff)
Clicking on cancel inside a popover doesn't reload the page
Diffstat (limited to 'app/Template/task/edit.php')
-rw-r--r--app/Template/task/edit.php2
1 files changed, 1 insertions, 1 deletions
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 @@
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
<?= t('or') ?>
<?php if ($ajax): ?>
- <?= $this->a(t('cancel'), 'board', 'show', array('project_id' => $task['project_id'])) ?>
+ <?= $this->a(t('cancel'), 'board', 'show', array('project_id' => $task['project_id']), false, 'close-popover') ?>
<?php else: ?>
<?= $this->a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
<?php endif ?>