2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

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
This commit is contained in:
justme-1968 2019-01-31 18:27:05 +00:00
parent c902e29e5f
commit 06a4c07230

View File

@ -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 = $('<input type="checkbox">').uniqueId();
var label = $('<label for="'+button.attr("id")+'">'+vArr[i]+'</label>');
buttons.push(button);