|
|
@@ -1301,7 +1301,7 @@ function validateCompany(source) {
|
|
|
<td style="text-align:right" class="step1-<?=$va['correct'] ? 'green' : 'red'?>"><?=$number_format(round($va['norm'] * 100, 3))?></td>
|
|
|
<td style="text-align:right" class="step1-<?=$va['correct'] ? 'green' : 'red'?>"><?=$odchylenie?></td>
|
|
|
<td <?=$va['correct'] ? 'class="step1-green">Tak' : 'class="step1-red" name="firstStepDesc" data-ka="' . $ka . '" nowrap>Nie (rozwiń)'?></td>
|
|
|
- <td<?=$va['correct'] ? '>' : ' onClick="showDetails(' . $ka . ', 0)"><span class="glyphicon glyphicon-search"></span>'?></td>
|
|
|
+ <td<?=$va['correct'] ? '>' : ' onClick="showDetails(' . $ka . ', null)"><span class="glyphicon glyphicon-search"></span>'?></td>
|
|
|
<?php if($edit):?>
|
|
|
<td<?=$va['correct'] ? '' : ' onClick="_click(\'checkFirstStep_' . $ka . '\')"'?>><input type="checkbox" <?=$va['correct'] ? 'disabled' : 'checked id="checkFirstStep_' . $ka . '" name="checkFirstStep[]" value="' . $ka . '" onClick="toggleCheckFirst(this)"'?>></td>
|
|
|
<?php endif;?>
|
|
|
@@ -1361,7 +1361,7 @@ function showDetails(ka, kb) {
|
|
|
document.getElementById('detailsMsg').innerHTML = "<h4>Proszę czekać...</h4>";
|
|
|
document.getElementById('details').style.display = 'block';
|
|
|
var post = "_noMenu=1&action=getDetails&_ka=" + ka;
|
|
|
- if (kb) post += "&_kb=" + kb;
|
|
|
+ if (kb !== null) post += "&_kb=" + kb;
|
|
|
var xhttp = new XMLHttpRequest();
|
|
|
xhttp.open("POST", '', true);
|
|
|
xhttp.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
|