mirror of https://github.com/MISP/MISP
fix: [UI] Normalize quck add attribute for object with other forms
parent
3a6d2d8420
commit
da56fabf5d
|
@ -91,6 +91,7 @@
|
||||||
echo $this->Form->input('Attribute.' . $k . '.to_ids', array(
|
echo $this->Form->input('Attribute.' . $k . '.to_ids', array(
|
||||||
'type' => 'checkbox',
|
'type' => 'checkbox',
|
||||||
'checked' => $element['to_ids'],
|
'checked' => $element['to_ids'],
|
||||||
|
'label' => __('For Intrusion Detection System'),
|
||||||
));
|
));
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -107,7 +108,8 @@
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'allowEmpty' => true,
|
'allowEmpty' => true,
|
||||||
'div' => 'input clear',
|
'div' => 'input clear',
|
||||||
'class' => 'input-xxlarge'
|
'style' => 'height:20px;width:400px;',
|
||||||
|
'label' => __('Contextual Comment'),
|
||||||
));
|
));
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -141,7 +143,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(function() {
|
||||||
initPopoverContent('Attribute0');
|
initPopoverContent('Attribute0');
|
||||||
$('#Attribute0Distribution').change(function() {
|
$('#Attribute0Distribution').change(function() {
|
||||||
initPopoverContent('Attribute0');
|
initPopoverContent('Attribute0');
|
||||||
|
|
Loading…
Reference in New Issue