Disabling URL destination in Gantt links
This commit is contained in:
parent
46a2f085de
commit
be7bd1121c
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue