public/javascripts/yui/calendar/calendar.js
function(e, cal) {
        Event.preventDefault(e);
        // previousMonth invoked in a timeout, to allow
        // event to bubble up, with correct target. Calling
        // previousMonth, will call render which will remove 
        // HTML which generated the event, resulting in an 
        // invalid event target in certain browsers.
        setTimeout(function() {
            cal.previousMonth();
            var navs = Dom.getElementsByClassName(cal.Style.CSS_NAV_LEFT, "a", cal.oDomContainer);
            if (navs && navs[0]) {
                try {
                    navs[0].focus();
                } catch (ex) {
                    // ignore
                }
            }
        }, 0);
    }
function(e, cal) {
        Event.preventDefault(e);
        // previousMonth invoked in a timeout, to allow
        // event to bubble up, with correct target. Calling
        // previousMonth, will call render which will remove 
        // HTML which generated the event, resulting in an 
        // invalid event target in certain browsers.
        setTimeout(function() {
            cal.previousMonth();
            var navs = Dom.getElementsByClassName(cal.Style.CSS_NAV_LEFT, "a", cal.oDomContainer);
            if (navs && navs[0]) {
                try {
                    navs[0].focus();
                } catch (ex) {
                    // ignore
                }
            }
        }, 0);
    }
function ( e , cal ) { Event . preventDefault ( e ) ; // previousMonth invoked in a timeout, to allow // event to bubble up, with correct target. Calling // previousMonth, will call render which will remove  // HTML which generated the event, resulting in an  // invalid event target in certain browsers. setTimeout ( function ( ) { cal . previousMonth ( ) ; var navs = Dom . getElementsByClassName ( cal . Style . CSS_NAV_LEFT , "a" , cal . oDomContainer ) ; if ( navs && navs [ 0 ] ) { try { navs [ 0 ] . focus ( ) ; } catch ( ex ) { // ignore } } } , 0 ) ; }
The default event handler for clicks on the "Previous Month" navigation UI

@method doPreviousMonthNav
@param {DOMEvent} e The DOM event
@param {Calendar} cal A reference to the calendar
The default event handler for clicks on the Previous Month navigation UI