From 06a4c0723006e92f6dff92729d9f3a5cae04bb36 Mon Sep 17 00:00:00 2001 From: justme-1968 Date: Thu, 31 Jan 2019 18:27:05 +0000 Subject: [PATCH] fhemweb_uzsu.js: allow # as space for uzsuSelect. see forum: https://forum.fhem.de/index.php/topic,96757.0.html git-svn-id: https://svn.fhem.de/fhem/trunk@18470 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/www/pgm2/fhemweb_uzsu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/fhem/www/pgm2/fhemweb_uzsu.js b/fhem/www/pgm2/fhemweb_uzsu.js index fece3667d..5204cc4fb 100644 --- a/fhem/www/pgm2/fhemweb_uzsu.js +++ b/fhem/www/pgm2/fhemweb_uzsu.js @@ -114,6 +114,7 @@ FW_uzsuSelectCreate(elName, devName, vArr, currVal, set, params, cmd) var buttons = []; for( var i = 1; i < vArr.length; ++i ) { + vArr[i] = vArr[i].replace(/#/g," "); var button = $('').uniqueId(); var label = $(''); buttons.push(button);