Fix #95 Sd list is not working with smoothie

due to output format difference
This commit is contained in:
luc 2016-05-16 16:29:48 +02:00
parent 352740156c
commit 700f395cab

View File

@ -353,7 +353,7 @@ var i;
for (i = 0; i < jsonresponse.length; i++){
content =jsonresponse[i].entry;
var tcontent=content.split(" ");
if (tcontent.length==2){
if ((tcontent.length==2) || (tcontent.length==1 && tcontent[0].indexOf("/")==-1)){
list2display+="<OPTION value=\"";
list2display+=tcontent[0];
list2display+="\">";