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:
justme1968
2019-01-31 18:27:05 +00:00
parent abebfb6b88
commit d68733aadb

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);