aggiunti asterischi

This commit is contained in:
Luca Trupiano 2022-10-04 16:59:50 +02:00
parent fe28b4e0af
commit e677e213e1
1 changed files with 3 additions and 1 deletions

View File

@ -613,7 +613,8 @@ $(document).ready(function() {
bindingsStream.on('data', (binding) => {
//console.log(binding.toString()); // Quick way to print bindings for testing
//console.log(binding.has('sub')); // Will be true
latestResult = rowNum + '. "' + binding.get('Verso').value + '" (' + binding.get('Cantica').value + ', ' + binding.get('Canto').value + ', Verso ' + binding.get('NumeroVerso').value + ')\n';
var latestVerso = binding.get('Verso').value
latestResult = rowNum + '. "' + latestVerso.replace(binding.get('Forma').value, '*' + binding.get('Forma').value + '*') + '" (' + binding.get('Cantica').value + ', ' + binding.get('Canto').value + ', Verso ' + binding.get('NumeroVerso').value + ')\n';
$("#risultatitesto").append(latestResult);
resultTablePart4 = '<tr><th scope="row" class="text-muted">' + rowNum++ + '</th>';
for (var i = 0; i < queryFields.length; i++) {
@ -628,6 +629,7 @@ $(document).ready(function() {
//console.log(binding.get('obj').value);
});
bindingsStream.on('end', () => {
$("#loader").hide();
resultTable = resultTable + resultTablePart5;
$("#resultsId1").append(resultTable);
//$("#risultatitesto").append("]");