mirror of https://github.com/MISP/MISP
chg: [UI] Remove two onclick
parent
84129c3bf9
commit
9b92b502cc
|
@ -161,5 +161,5 @@
|
|||
'child' => $attrKey == $lastElement ? 'last' : true
|
||||
));
|
||||
}
|
||||
echo '<tr class="objectAddFieldTr"><td><span class="fa fa-plus-circle objectAddField" title="' . __('Add an Object Attribute') .'" onclick="popoverPopup(this, ' . h($object['id']) . ', \'objects\', \'quickFetchTemplateWithValidObjectAttributes\')"></span></td></tr>';
|
||||
echo '<tr class="objectAddFieldTr"><td><span class="fa fa-plus-circle objectAddField" title="' . __('Add an Object Attribute') .'" data-popover-popup="/objects/quickFetchTemplateWithValidObjectAttributes/' . h($object['id']) .'"></span></td></tr>';
|
||||
}
|
||||
|
|
|
@ -71,8 +71,9 @@
|
|||
'title' => __('Tag selected Attributes'),
|
||||
'class' => 'mass-select hidden',
|
||||
'fa-icon' => 'tag',
|
||||
'onClick' => 'popoverPopup',
|
||||
'onClickParams' => array('this', 'selected/attribute', 'tags', 'selectTaxonomy')
|
||||
'data' => [
|
||||
'popover-popup' => '/tags/selectTaxonomy/selected/attribute',
|
||||
],
|
||||
),
|
||||
array(
|
||||
'id' => 'multi-galaxy-button',
|
||||
|
@ -80,8 +81,9 @@
|
|||
'class' => 'mass-select hidden',
|
||||
'fa-icon' => 'rebel',
|
||||
'fa-source' => 'fab',
|
||||
'onClick' => 'popoverPopup',
|
||||
'onClickParams' => array('this', 'selected/attribute/eventid:' . $eventId, 'galaxies', 'selectGalaxyNamespace')
|
||||
'data' => [
|
||||
'popover-popup' => '/galaxies/selectGalaxyNamespace/selected/attribute/eventid:' . $eventId,
|
||||
],
|
||||
),
|
||||
array(
|
||||
'id' => 'group-into-object-button',
|
||||
|
|
Loading…
Reference in New Issue