[Debian-iot-packaging] [openzwave-controlpanel] 10/81: Ignore missing values.
Dara Adib
daradib-guest at moszumanska.debian.org
Thu Dec 22 16:57:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
daradib-guest pushed a commit to branch debian/master
in repository openzwave-controlpanel.
commit ca1b92a2a28b1a6b4503c80d79bbac362fe4d81c
Author: glsatz <glsatz at gmail.com>
Date: Fri Jul 8 22:25:26 2011 +0000
Ignore missing values.
---
cp.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cp.js b/cp.js
index 1ccc0be..f5ae024 100644
--- a/cp.js
+++ b/cp.js
@@ -748,6 +748,8 @@ function CreateDivs(elem,genre,divto,ind,node)
var i;
var lastclass='';
for (i = 0; i < where[0].childNodes.length; i++) {
+ if (where[0].childNodes[i].firstChild == null)
+ continue;
if (where[0].childNodes[i].nodeType != 1)
continue;
var ro=where[0].childNodes[i].getAttribute('readonly')=='true';
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-iot/openzwave-controlpanel.git
More information about the Debian-iot-packaging
mailing list