summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2017-12-01 13:37:42 -0800
committerFrédéric Guillot <fred@kanboard.net>2017-12-01 13:37:42 -0800
commitd21aed4e3bb5278e12346dee9de6fb608f691cb8 (patch)
tree55910585d214a4fd0abc79c69c1a477bb52151d8
parent0153cb33dede09a0167d490204bdf10151ed15cc (diff)
Add class "js-modal-replace" to icons
-rw-r--r--app/Helper/ModalHelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Helper/ModalHelper.php b/app/Helper/ModalHelper.php
index dbf0415b..4cff1ffa 100644
--- a/app/Helper/ModalHelper.php
+++ b/app/Helper/ModalHelper.php
@@ -89,7 +89,7 @@ class ModalHelper extends Base
public function replaceIconLink($icon, $label, $controller, $action, array $params = array())
{
- $html = '<i class="fa fa-'.$icon.' fa-fw" aria-hidden="true"></i>'.$label;
+ $html = '<i class="fa fa-'.$icon.' fa-fw js-modal-replace" aria-hidden="true"></i>'.$label;
return $this->helper->url->link($html, $controller, $action, $params, false, 'js-modal-replace');
}
}