Fixed bug where popoverChoice was returning undefined values for some browser

pull/3658/head
Sami Mokaddem 2018-09-07 09:14:57 +00:00
parent 3e27519725
commit d934fadd28
1 changed files with 2 additions and 2 deletions

View File

@ -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>';