mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-06-30 12:55:12 +08:00
Fix #95 Sd list is not working with smoothie
due to output format difference
This commit is contained in:
parent
352740156c
commit
700f395cab
@ -353,7 +353,7 @@ var i;
|
|||||||
for (i = 0; i < jsonresponse.length; i++){
|
for (i = 0; i < jsonresponse.length; i++){
|
||||||
content =jsonresponse[i].entry;
|
content =jsonresponse[i].entry;
|
||||||
var tcontent=content.split(" ");
|
var tcontent=content.split(" ");
|
||||||
if (tcontent.length==2){
|
if ((tcontent.length==2) || (tcontent.length==1 && tcontent[0].indexOf("/")==-1)){
|
||||||
list2display+="<OPTION value=\"";
|
list2display+="<OPTION value=\"";
|
||||||
list2display+=tcontent[0];
|
list2display+=tcontent[0];
|
||||||
list2display+="\">";
|
list2display+="\">";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user