Add class "js-modal-replace" to icons

This commit is contained in:
Frédéric Guillot 2017-12-01 13:37:42 -08:00
parent 0153cb33de
commit d21aed4e3b
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}
}