2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

fhemweb.js: fix shof crash (Forum #77432)

git-svn-id: https://svn.fhem.de/fhem/trunk@23350 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-12-14 15:56:38 +00:00
parent a7c0493e8f
commit 6fc7b3966d

View File

@ -1259,7 +1259,7 @@ FW_detailSelect(selEl, mayMissing)
var aap = listArr[i1].split(":");
if(selVal.match(new RegExp(aap[0]))) {
if(aap.length > 2) {
var re = shift(aap);
var re = aap.shift();
aap = [re, aap.join(":")];
}
argAndPar = aap;