summaryrefslogtreecommitdiff
path: root/app/Controller/Base.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-31 20:14:51 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-31 20:14:51 -0500
commit271543431e999032d6e91197633119309fa6c622 (patch)
tree93c84f80092b6b463dcb643ee6bd0302c18fdf47 /app/Controller/Base.php
parent0bc51620c731e7cfd10db5e064fc04693205b21c (diff)
Make project creation form a inline popup
Diffstat (limited to 'app/Controller/Base.php')
-rw-r--r--app/Controller/Base.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Controller/Base.php b/app/Controller/Base.php
index 02d87aae..0939f44c 100644
--- a/app/Controller/Base.php
+++ b/app/Controller/Base.php
@@ -189,10 +189,9 @@ abstract class Base extends \Kanboard\Core\Base
*/
protected function taskLayout($template, array $params)
{
- $params['ajax'] = $this->request->isAjax();
$content = $this->template->render($template, $params);
- if ($params['ajax']) {
+ if ($this->request->isAjax()) {
return $content;
}