From 77a307e4ff8cfb4afcd34990b147f0ad38dfc558 Mon Sep 17 00:00:00 2001 From: ashbike Date: Mon, 9 Feb 2015 21:30:08 +0530 Subject: - Markdown supported in column description. - Project > Edit Board and Project Summary pages now show description as tooltip. - Project > Edit Board shows textarea with markdown preview. Edit column also shows markdown preview. - Fixed bug while adding a new column inserts description as column limit. --- app/Model/Board.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Model/Board.php') diff --git a/app/Model/Board.php b/app/Model/Board.php index 2b07ca46..8a344f7f 100644 --- a/app/Model/Board.php +++ b/app/Model/Board.php @@ -118,7 +118,7 @@ class Board extends Base $values = array( 'project_id' => $project_id, 'title' => $title, - 'task_limit' => $task_limit, + 'task_limit' => intval($task_limit), 'position' => $this->getLastColumnPosition($project_id) + 1, 'description' => $description, ); @@ -140,7 +140,7 @@ class Board extends Base { return $this->db->table(self::TABLE)->eq('id', $column_id)->update(array( 'title' => $title, - 'task_limit' => $task_limit, + 'task_limit' => intval($task_limit), 'description' => $description, )); } -- cgit v1.2.3