summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-15 21:54:21 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-15 21:54:21 -0500
commitb2c95a25e3b866f3987ac54c48e0a65792c8517d (patch)
treece9b468723b87892985fa28eb40221ef44de51c2 /app/Template
parent353117f44e02e47019b846806fc11bad7df57152 (diff)
Enable keyboard shortcut inside textarea and minor fixes
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/board/show.php1
-rw-r--r--app/Template/board/swimlane.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/Template/board/show.php b/app/Template/board/show.php
index 9fa95dbd..f1607d26 100644
--- a/app/Template/board/show.php
+++ b/app/Template/board/show.php
@@ -7,6 +7,7 @@
data-check-interval="<?= $board_private_refresh_interval ?>"
data-save-url="<?= $this->u('board', 'save', array('project_id' => $project['id'])) ?>"
data-check-url="<?= $this->u('board', 'check', array('project_id' => $project['id'], 'timestamp' => time())) ?>"
+ data-task-creation-url="<?= $this->u('task', 'create', array('project_id' => $project['id'])) ?>"
>
<?php endif ?>
diff --git a/app/Template/board/swimlane.php b/app/Template/board/swimlane.php
index 331b5ac2..08efdd11 100644
--- a/app/Template/board/swimlane.php
+++ b/app/Template/board/swimlane.php
@@ -21,7 +21,7 @@
<th class="board-column">
<?php if (! $not_editable): ?>
<div class="board-add-icon">
- <?= $this->a('+', 'task', 'create', array('project_id' => $column['project_id'], 'column_id' => $column['id'], 'swimlane_id' => $swimlane['id']), false, 'task-creation-popover', t('Add a new task')) ?>
+ <?= $this->a('+', 'task', 'create', array('project_id' => $column['project_id'], 'column_id' => $column['id'], 'swimlane_id' => $swimlane['id']), false, 'task-board-popover', t('Add a new task')) ?>
</div>
<?php endif ?>