mirror of https://github.com/MISP/MISP
fix: [genericPicker] allow tagging when the ATT&CK Matrix has been
opened.pull/4627/head
parent
2bce33b83e
commit
de186f93ad
|
@ -268,7 +268,7 @@
|
|||
}
|
||||
|
||||
function makeTagging(tagIds) {
|
||||
$('#GalaxyTargetIds').val(JSON.stringify(tagIds));
|
||||
$('#GalaxyViewGalaxyMatrixForm #GalaxyTargetIds').val(JSON.stringify(tagIds));
|
||||
$('#GalaxyViewGalaxyMatrixForm').submit();
|
||||
}
|
||||
|
||||
|
|
|
@ -3641,9 +3641,8 @@ function quickSubmitGalaxyForm(cluster_ids, additionalData) {
|
|||
var target_id = additionalData['target_id'];
|
||||
var scope = additionalData['target_type'];
|
||||
var formData = fetchFormDataAjax("/galaxies/attachMultipleClusters/" + target_id + "/" + scope);
|
||||
console.log(formData);
|
||||
$('#temp').html(formData);
|
||||
$('#GalaxyTargetIds').val(JSON.stringify(cluster_ids));
|
||||
$('#temp #GalaxyTargetIds').val(JSON.stringify(cluster_ids));
|
||||
if (target_id == 'selected') {
|
||||
$('#AttributeAttributeIds').val(getSelected());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue