mirror of https://github.com/MISP/MISP
chg: [advanced extraction] is now the default
parent
a1810a313c
commit
5ea3cf0250
|
@ -67,7 +67,7 @@
|
|||
<?php
|
||||
echo $this->Form->input('advanced', array(
|
||||
'type' => 'checkbox',
|
||||
'checked' => false,
|
||||
'checked' => true,
|
||||
'disabled' => !$advancedExtractionAvailable,
|
||||
'data-disabled-reason' => !$advancedExtractionAvailable ? __('Advanced extraction is not installed') : '',
|
||||
'div' => array('id' => 'advanced_input', 'style' => 'display:none'),
|
||||
|
@ -133,7 +133,7 @@ $(document).ready(function() {
|
|||
$("#AttributeCategory, #AttributeDistribution").change(function() {
|
||||
initPopoverContent('Attribute');
|
||||
});
|
||||
|
||||
|
||||
$("#AttributeMalware").change(function () {
|
||||
if (this.checked) {
|
||||
$('#advanced_input').show();
|
||||
|
|
Loading…
Reference in New Issue