1 --- a/www/ozwcp/cp.js 2017-07-30 05:19:41.000000000 -0500
2 +++ b/www/ozwcp/cp.js 2018-02-22 17:14:52.185486298 -0600
4 var current = values[j].getAttribute('current');
5 nodes[id].values[k].value = new Array();
6 for (var l = 0; l < items.length; l++) {
7 - nodes[id].values[k].value[l] = {item: items[l].firstChild.nodeValue, selected: (current == items[l].firstChild.nodeValue)};
8 + var firstChild = items[l].firstChild;
10 + if (firstChild == null)
13 + nodeValue = firstChild.nodeValue;
14 + nodes[id].values[k].value[l] = {item: nodeValue, selected: (current == nodeValue)};
16 } else if (values[j].firstChild != null)
17 nodes[id].values[k].value = values[j].firstChild.nodeValue;