[Debian-iot-packaging] [openzwave-controlpanel] 07/81: Support decimal data types.

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 bf54d52090662a906a777be61d5d1823f06b3daa
Author: glsatz at gmail.com <glsatz at gmail.com>
Date:   Wed May 18 07:15:57 2011 +0000

    Support decimal data types.
---
 cp.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cp.js b/cp.js
index 88512e6..781ed6f 100644
--- a/cp.js
+++ b/cp.js
@@ -634,6 +634,8 @@ function CreateDivs(elem,genre,divto,ind, node)
 	  divto[ind]=divto[ind]+CreateTextBox(where[0].childNodes[i].getAttribute('label'),where[0].childNodes[i].firstChild.nodeValue,where[0].childNodes[i].getAttribute('units'),id,ro);
       } else if (tag == 'short') {
 	  divto[ind]=divto[ind]+CreateTextBox(where[0].childNodes[i].getAttribute('label'),where[0].childNodes[i].firstChild.nodeValue,where[0].childNodes[i].getAttribute('units'),id,ro);
+      } else if (tag == 'decimal') {
+	  divto[ind]=divto[ind]+CreateTextBox(where[0].childNodes[i].getAttribute('label'),where[0].childNodes[i].firstChild.nodeValue,where[0].childNodes[i].getAttribute('units'),id,ro);
       } else if (tag == 'list') {
 	  divto[ind]=divto[ind]+CreateList(where[0].childNodes[i].getAttribute('label'),where[0].childNodes[i].getAttribute('current'),where[0].childNodes[i].getAttribute('units'),id,where[0].childNodes[i].getElementsByTagName('item'),ro);
       } else if (tag == 'string') {

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