From 5cc2129c4ae91d5bdba12af4d2382d2c0a03507f Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 13 Dec 2020 11:18:04 +0000 Subject: [PATCH] fhemweb.js: select parameters: userattr overrules builtins (Forum #29972) git-svn-id: https://svn.fhem.de/fhem/trunk@23340 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/www/pgm2/fhemweb.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/fhem/www/pgm2/fhemweb.js b/fhem/www/pgm2/fhemweb.js index d6b6e1eb7..f32b8f248 100644 --- a/fhem/www/pgm2/fhemweb.js +++ b/fhem/www/pgm2/fhemweb.js @@ -1256,14 +1256,14 @@ FW_detailSelect(selEl, mayMissing) if(selVal != null && selVal != undefined) { for(var i1=0; i1 2) { - var re = shift(argAndPar); - argAndPar = [re, argAndPar.join(":")]; + var aap = listArr[i1].split(":"); + if(selVal.match(new RegExp(aap[0]))) { + if(aap.length > 2) { + var re = shift(aap); + aap = [re, aap.join(":")]; } - break; + argAndPar = aap; + fnd = true; } } }