rem: var span = target.childNodes.length == 0 ? target.parentNode : target 
add: var span = target.childNodes.length != 3 ? target.parentNode : target 
context: function xformsCalendarClick(event) {    // Call jscalendar handler only if this is date field    var target = getEventTarget(event);    // Event can be received on calendar picker span, or on the containing span    var span = target.childNodes.length == 0 ? target.parentNode : target    var inputField = span.childNodes[1];    if (xformsArrayContains(inputField.className.split(" "), "xforms-type-date")            && !inputField.disabled)        span.xformsJscalendarOnClick();}
meta: 7519	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7519/edb637e3c9fc06ec6b4bc653bc1e3c0c3345281f/xforms-style.js/clean/src/examples/web/config/theme/javascript/xforms-style.js