// Corrige un bug empêchant l'affichage d'un bloc caché via "hidden: true"
// source : http://www.sencha.com/forum/showthread.php?96686-INFOREQ-Set-visible-fieldset-in-Chrome-4.1-(ExtJS-3.2)&p=466276#post466276

// ExtJS 3.2 Webkit Hidden Component Fix
Ext.override(Ext.Component, {
	onShow : function(){
		this.getVisibilityEl().removeClass('x-hide-' + this.hideMode);
		
		if(Ext.isWebKit) {
			this.getVisibilityEl().show();
		}
	},
	onHide : function(){
		this.getVisibilityEl().addClass('x-hide-' + this.hideMode);
		
		if(Ext.isWebKit) {
			this.getVisibilityEl().hide();
		}
	}
});

