lib/Ext/field/DatePicker.js
function() {
        var me     = this,
            picker = me.getPicker();

        if (me.getDestroyPickerOnHide() && picker) {
            picker.destroy();
            me._picker = me.getInitialConfig().picker || true;
        }
    }
function() {
        var me     = this,
            picker = me.getPicker();

        if (me.getDestroyPickerOnHide() && picker) {
            picker.destroy();
            me._picker = me.getInitialConfig().picker || true;
        }
    }
Destroys the picker when it is hidden, if
{@link Ext.field.DatePicker#destroyPickerOnHide destroyPickerOnHide} is set to `true`.
@private