public/javascripts/yui/container/container.js
function (type, args, obj) {
            var el = this.lastElement;

            if (args && args[1]) {
                Event.stopEvent(args[1]);
            }

            if (el) {
                try {
                    el.focus();
                } catch(err) {
                    // Ignore
                }
            }
        }
function (type, args, obj) {
            var el = this.lastElement;

            if (args && args[1]) {
                Event.stopEvent(args[1]);
            }

            if (el) {
                try {
                    el.focus();
                } catch(err) {
                    // Ignore
                }
            }
        }
function ( type , args , obj ) { var el = this . lastElement ; if ( args && args [ 1 ] ) { Event . stopEvent ( args [ 1 ] ) ; } if ( el ) { try { el . focus ( ) ; } catch ( err ) { // Ignore } } }
Sets focus to the last element in the Panel.

@method focusLast
Sets focus to the last element in the Panel .