update query
This commit is contained in:
parent
84f9a94873
commit
fd92f4cd49
|
@ -626,7 +626,12 @@ $(document).ready(function() {
|
|||
//console.log(binding.has('sub')); // Will be true
|
||||
resultTablePart4 = '<tr><th scope="row" class="text-muted">' + rowNum++ + '</th>';
|
||||
for (var i = 0; i < queryFields.length; i++) {
|
||||
resultTablePart4 = resultTablePart4 + '<td class="text-muted">' + binding.get(queryFields[i]).value + "</td>";
|
||||
if (binding.get(queryFields[i]) != null) {
|
||||
val = binding.get(queryFields[i]).value
|
||||
} else {
|
||||
val = "na"
|
||||
}
|
||||
resultTablePart4 = resultTablePart4 + '<td class="text-muted">' + val + "</td>";
|
||||
};
|
||||
resultTable = resultTable + resultTablePart4 + '</tr>';
|
||||
$("#risultatitesto").append(binding.toString() + ",\n");
|
||||
|
|
Loading…
Reference in New Issue