mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +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:
parent
c902e29e5f
commit
06a4c07230
@ -114,6 +114,7 @@ FW_uzsuSelectCreate(elName, devName, vArr, currVal, set, params, cmd)
|
|||||||
|
|
||||||
var buttons = [];
|
var buttons = [];
|
||||||
for( var i = 1; i < vArr.length; ++i ) {
|
for( var i = 1; i < vArr.length; ++i ) {
|
||||||
|
vArr[i] = vArr[i].replace(/#/g," ");
|
||||||
var button = $('<input type="checkbox">').uniqueId();
|
var button = $('<input type="checkbox">').uniqueId();
|
||||||
var label = $('<label for="'+button.attr("id")+'">'+vArr[i]+'</label>');
|
var label = $('<label for="'+button.attr("id")+'">'+vArr[i]+'</label>');
|
||||||
buttons.push(button);
|
buttons.push(button);
|
||||||
|
Loading…
Reference in New Issue
Block a user