From 8bf054a480ecc2d31b857cb27bd6256f1efdd74c Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 11 Feb 2017 17:22:10 -0500 Subject: Open comments in board view with a modal dialog instead of tooltip --- app/Helper/ModalHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Helper/ModalHelper.php') diff --git a/app/Helper/ModalHelper.php b/app/Helper/ModalHelper.php index efbe2c4d..e8fee99c 100644 --- a/app/Helper/ModalHelper.php +++ b/app/Helper/ModalHelper.php @@ -47,10 +47,10 @@ class ModalHelper extends Base return $this->helper->url->link($html, $controller, $action, $params, false, 'js-modal-large'); } - public function medium($icon, $label, $controller, $action, array $params = array()) + public function medium($icon, $label, $controller, $action, array $params = array(), $title = '') { $html = ''.$label; - return $this->helper->url->link($html, $controller, $action, $params, false, 'js-modal-medium'); + return $this->helper->url->link($html, $controller, $action, $params, false, 'js-modal-medium', $title); } public function small($icon, $label, $controller, $action, array $params = array()) -- cgit v1.2.3