Skip to content
Snippets Groups Projects
Commit 43d3fd6f authored by Lucio Zambon's avatar Lucio Zambon
Browse files

Update talk.js

parent 7abbf4b4
No related branches found
No related tags found
No related merge requests found
......@@ -172,8 +172,8 @@
$('#openTable').html($('#openTable').html()+'<tr><td>'+(i+1)+'</td><td>'+rlocale[i].title+'</td><td>'+rlocale[i].description+'</td><td>'+rlocale[i].exename+'</td></tr>');
window.openData.push(rlocale[i]);
}
$('#openTable').html('<tr><td>'+txt+'</td><td><input id="oname" class="oname"></input></td><td><button class="btn btn-primary" onClick="mode=null">CANCEL</button></td></tr>');
}
$('#openTable').html('<tr><td>'+txt+'</td><td><input id="oname" class="oname"></input></td><td><button class="btn btn-primary" onClick="mode=null">CANCEL</button></td></tr>');
$(function() {$(".oname").autocomplete({source: launcher, select: function(event, ui) {findPanel(ui.item.value, txt); return false;}});});
window.openData.push(txt);
showLog('window.openData1');
......@@ -187,7 +187,7 @@
showLog('window.openData2');
showLog(window.openData);
showLog(txt);
txt = txt.replace('numero ', '');
txt = txt.replace(locale[lang].number+' ', '');
let num = -1;
if (txt.indexOf(locale[lang].zero)>-1) num = -1;
if (txt.indexOf(locale[lang].one)>-1) num = 0;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment