mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
fhemweb.js: select parameters: userattr overrules builtins (Forum #29972)
git-svn-id: https://svn.fhem.de/fhem/trunk@23340 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0a7cf9ec18
commit
5cc2129c4a
@ -1256,14 +1256,14 @@ FW_detailSelect(selEl, mayMissing)
|
|||||||
|
|
||||||
if(selVal != null && selVal != undefined) {
|
if(selVal != null && selVal != undefined) {
|
||||||
for(var i1=0; i1<listArr.length; i1++) {
|
for(var i1=0; i1<listArr.length; i1++) {
|
||||||
argAndPar = listArr[i1].split(":");
|
var aap = listArr[i1].split(":");
|
||||||
if(selVal.match(new RegExp(argAndPar[0]))) {
|
if(selVal.match(new RegExp(aap[0]))) {
|
||||||
fnd = true;
|
if(aap.length > 2) {
|
||||||
if(argAndPar.length > 2) {
|
var re = shift(aap);
|
||||||
var re = shift(argAndPar);
|
aap = [re, aap.join(":")];
|
||||||
argAndPar = [re, argAndPar.join(":")];
|
|
||||||
}
|
}
|
||||||
break;
|
argAndPar = aap;
|
||||||
|
fnd = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user