mirror of https://github.com/MISP/MISP
Fixed bug where popoverChoice was returning undefined values for some browser
parent
3e27519725
commit
d934fadd28
|
@ -1319,11 +1319,11 @@ 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 in list) {
|
||||
list.forEach(function(item) {
|
||||
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>';
|
||||
}
|
||||
});
|
||||
popupHtml += '</tbody>';
|
||||
popupHtml += '</table>';
|
||||
popupHtml += '</div>';
|
||||
|
|
Loading…
Reference in New Issue