mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +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:
parent
7f1e05d4b8
commit
6bbcef404c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user