function(cls) {
        var me = this,
            result = me.callParent(arguments),
            classes = [me.baseCls + '-body-' + cls, me.baseCls + '-body-' + me.ui + '-' + cls],
            array, i;

        if (me.bodyCls) {
            array = me.bodyCls.split(' ');

            for (i = 0; i < classes.length; i++) {
                if (!Ext.Array.contains(array, classes[i])) {
                    array.push(classes[i]);
                }
            }

            me.bodyCls = array.join(' ');
        } else {
            me.bodyCls = classes.join(' ');
        }

        return result;
    }
function(cls) {
        var me = this,
            result = me.callParent(arguments),
            classes = [me.baseCls + '-body-' + cls, me.baseCls + '-body-' + me.ui + '-' + cls],
            array, i;

        if (me.bodyCls) {
            array = me.bodyCls.split(' ');

            for (i = 0; i < classes.length; i++) {
                if (!Ext.Array.contains(array, classes[i])) {
                    array.push(classes[i]);
                }
            }

            me.bodyCls = array.join(' ');
        } else {
            me.bodyCls = classes.join(' ');
        }

        return result;
    }
function ( cls ) { var me = this , result = me . callParent ( arguments ) , classes = [ me . baseCls + '-body-' + cls , me . baseCls + '-body-' + me . ui + '-' + cls ] , array , i ; if ( me . bodyCls ) { array = me . bodyCls . split ( ' ' ) ; for ( i = 0 ; i < classes . length ; i ++ ) { if ( ! Ext . Array . contains ( array , classes [ i ] ) ) { array . push ( classes [ i ] ) ; } } me . bodyCls = array . join ( ' ' ) ; } else { me . bodyCls = classes . join ( ' ' ) ; } return result ; }
inherit docs
inherit docs