function(resetRecord) {
        Ext.suspendLayouts();

        var me     = this,
            fields = me.getFields().items,
            f,
            fLen   = fields.length;

        for (f = 0; f < fLen; f++) {
            fields[f].reset();
        }

        Ext.resumeLayouts(true);
        
        if (resetRecord === true) {
            delete me._record;
        }
        return me;
    }
function(resetRecord) {
        Ext.suspendLayouts();

        var me     = this,
            fields = me.getFields().items,
            f,
            fLen   = fields.length;

        for (f = 0; f < fLen; f++) {
            fields[f].reset();
        }

        Ext.resumeLayouts(true);
        
        if (resetRecord === true) {
            delete me._record;
        }
        return me;
    }
function ( resetRecord ) { Ext . suspendLayouts ( ) ; var me = this , fields = me . getFields ( ) . items , f , fLen = fields . length ; for ( f = 0 ; f < fLen ; f ++ ) { fields [ f ] . reset ( ) ; } Ext . resumeLayouts ( true ) ; if ( resetRecord === true ) { delete me . _record ; } return me ; }
Resets all fields in this form. By default, any record bound by {@link #loadRecord}
will be retained.
@param {Boolean} [resetRecord=false] True to unbind any record set
by {@link #loadRecord}
@return {Ext.form.Basic} this
Resets all fields in this form . By default any record bound by {