comparison plugins/dataforms.js @ 81:7500bc048dbc

Typo errors.
author Sonny Piers <sonny.piers@gmail.com>
date Tue, 07 Feb 2012 18:44:07 +0100
parents 50d36b093e3a
children 06495f77a74c
comparison
equal deleted inserted replaced
80:50d36b093e3a 81:7500bc048dbc
125 if (fields) 125 if (fields)
126 form.reported = fields 126 form.reported = fields
127 } 127 }
128 128
129 var itemsList = x.getElementsByTagNameNS(Lightstring.ns['dataforms'], 'item'); 129 var itemsList = x.getElementsByTagNameNS(Lightstring.ns['dataforms'], 'item');
130 if (itemsList.length) { 130 if (itemsList) {
131 var fields = parseFields(itemsList[0].getElementsByTagNameNS(Lightstring.ns['dataforms'], 'fields')); 131 var fields = parseFields(itemsList[0].getElementsByTagNameNS(Lightstring.ns['dataforms'], 'fields'));
132 if (fields) 132 if (fields)
133 form.items = fields; 133 form.items = fields;
134 } 134 }
135 135