Disabling URL destination in Gantt links

This commit is contained in:
Manuel Cillero 2017-08-18 20:27:12 +02:00
parent 46a2f085de
commit be7bd1121c

View file

@ -2642,6 +2642,8 @@ function storm_icon_gantt($path, $item, $params=array()) {
global $user;
if (!user_access('Storm project: access')) return '';
$attributes = array('class' => 'popups-form');
// Disabling URL destination in Gantt links:
unset($params['q']);
return storm_icon_l('application_gantt', $path, t('Project tasks'), '', $params, $attributes);
}