rem: input["_onblur"] = input.onblur; input.onblur     = null; 
add: Form.Element.disableValidation(input); 
context:     toggleCalendar: function(ev) {        var calId  = "cal_" + ev.target.id;        var wrapId = calId + "_wrap";        var wrap   = $(wrapId);        var input  = ev.target;        if ( Jifty.Calendar.openCalendar == wrapId ) {            Jifty.Calendar.hideOpenCalendar();            return;        }        Jifty.Calendar.hideOpenCalendar();                /* We need to delay Jifty's canonicalization until after we've           selected a value via the calendar */        input["_onblur"] = input.onblur;        input.onblur     = null;                if ( wrap ) {            wrap.style.display = "block";            Jifty.Calendar.openCalendar = wrapId;            Jifty.Utils.scrollToShow( wrapId );            return;        }        wrap = document.createElement("div");        wrap.setAttribute( "id", wrapId );                wrap.style.position = "absolute";        wrap.style.left     = Jifty.Utils.findRelativePosX( input ) + "px";        wrap.style.top      = Jifty.Utils.findRelativePosY( input ) + input.offsetHeight + "px";        wrap.style.zIndex   = 40;                input.parentNode.insertBefore( wrap, input.nextSibling );        var cal;                if ( /^(\d{4})\W(\d{2})\W(\d{2})/.test(input.value) ) {            var bits = input.value.match(/^(\d{4})\W(\d{2})\W(\d{2})/);            cal = new YAHOO.widget.Calendar( calId,                                             wrapId,                                             bits[2]+"/"+bits[1],                                             bits[2]+"/"+bits[3]+"/"+bits[1]                                            );        }        else {            cal = new YAHOO.widget.Calendar( calId, wrapId );        }                cal["customConfig"] = function(){             for (i in Jifty.Calendar.Options) {                this.Options[i] = Jifty.Calendar.Options[i];            }         };        cal["onSelect"] = function() {            input.value = cal.getSelectedDates()[0].formatDate(Jifty.Calendar.dateFormat);            Jifty.Calendar.hideOpenCalendar();        };        cal["_onChangePage"] = cal["onChangePage"];        cal["onChangePage"]  = function() {            Jifty.Calendar._blurredCalendar = null;            cal["_onChangePage"]();        };                cal.setupConfig();        cal.render();                Jifty.Calendar.openCalendar = wrapId;        Jifty.Utils.scrollToShow( wrapId );        /*Jifty.Calendar.preventStutter = wrapId;*/    },
meta: 5054	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5054/d16f9e59f6a0168708b3a953ad5348ad9956a68e/calendar.js/buggy/share/web/static/js/calendar.js