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

fhemweb.js: fix undef bug (Forum #102807)

git-svn-id: https://svn.fhem.de/fhem/trunk@19953 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-08-05 06:57:11 +00:00
parent 7f1e05d4b8
commit 6bbcef404c

View File

@ -1832,7 +1832,7 @@ function
FW_createBitfield(elName, devName, vArr, currVal, set, params, cmd)
{
if(vArr[0] != "bitfield")
return undef;
return undefined;
elName = elName.replace(/[^A-Z0-9_]/ig, '_');
var fieldSize = (vArr.length > 1 ? parseInt(vArr[1]) : 8);
var bitMask = (vArr.length > 2 ? parseInt(vArr[2]) : 4294967295);