public/javascripts/yui/calendar/calendar.js
function(type, args, obj) {
        var close = args[0],
            title = this.cfg.getProperty(DEF_CFG.TITLE.key);
    
        if (close) {
            if (!title) {
                this.createTitleBar("&#160;");
            }
            this.createCloseButton();
        } else {
            this.removeCloseButton();
            if (!title) {
                this.removeTitleBar();
            }
        }
    }
function(type, args, obj) {
        var close = args[0],
            title = this.cfg.getProperty(DEF_CFG.TITLE.key);
    
        if (close) {
            if (!title) {
                this.createTitleBar("&#160;");
            }
            this.createCloseButton();
        } else {
            this.removeCloseButton();
            if (!title) {
                this.removeTitleBar();
            }
        }
    }
function ( type , args , obj ) { var close = args [ 0 ] , title = this . cfg . getProperty ( DEF_CFG . TITLE . key ) ; if ( close ) { if ( ! title ) { this . createTitleBar ( "&#160;" ) ; } this . createCloseButton ( ) ; } else { this . removeCloseButton ( ) ; if ( ! title ) { this . removeTitleBar ( ) ; } } }
Default handler for the "close" property
@method configClose
Default handler for the close property