mirror of https://github.com/MISP/MISP
fix: [javascript] Fixed JS broken in IE11 #3306
parent
f6ed105249
commit
a211f606e3
|
@ -30,7 +30,7 @@ function generate_additional_info(info) {
|
|||
var to_ret = "\n\nInvolved:\n";
|
||||
var sel = document.createElement('select');
|
||||
sel.classList.add('distributionInfo');
|
||||
for (var i of info) {
|
||||
for (var i in info) {
|
||||
var opt = document.createElement('option');
|
||||
opt.val = i;
|
||||
opt.innerHTML = i;
|
||||
|
|
|
@ -1297,7 +1297,7 @@ function choicePopup(legend, list) {
|
|||
popupHtml += '<div class="popover_choice_main" id ="popover_choice_main">';
|
||||
popupHtml += '<table style="width:100%;" id="MainTable">';
|
||||
popupHtml += '<tbody>';
|
||||
for (var item of list) {
|
||||
for (var item in list) {
|
||||
popupHtml += '<tr style="border-bottom:1px solid black;" class="templateChoiceButton">';
|
||||
popupHtml += '<td role="button" tabindex="0" aria-label="All meta-categories" title="'+item.text+'" style="padding-left:10px;padding-right:10px; text-align:center;width:100%;" onClick="'+item.onclick+';">'+item.text+'</td>';
|
||||
popupHtml += '</tr>';
|
||||
|
|
Loading…
Reference in New Issue