[pve-devel] [PATCH 2/2] ResourceStore : display node column by default

Dietmar Maurer dietmar at proxmox.com
Tue Jul 10 10:56:44 CEST 2012


The ExtJS Grid component can store/reload the whole state (using HTML5 local storage).

So each user can configure that by himself.

I just disabled that feature because I found no way to reset stored configuration back to defaults. 

Maybe there is a solution with newer ExtJS (no tested).

- Dietmar Maurer

> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of Alexandre Derumier
> Sent: Donnerstag, 05. Juli 2012 13:24
> To: pve-devel at pve.proxmox.com
> Subject: [pve-devel] [PATCH 2/2] ResourceStore : display node column by
> default
> 
> 
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
>  www/manager/data/ResourceStore.js |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/www/manager/data/ResourceStore.js
> b/www/manager/data/ResourceStore.js
> index 34c0b72..f55c491 100644
> --- a/www/manager/data/ResourceStore.js
> +++ b/www/manager/data/ResourceStore.js
> @@ -185,7 +185,7 @@ Ext.define('PVE.data.ResourceStore', {
>  	    node: {
>  		header: gettext('Node'),
>  		type: 'text',
> -		hidden: true,
> +		hidden: false,
>  		sortable: true,
>  		width: 110
>  	    },
> --
> 1.7.2.5
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel





More information about the pve-devel mailing list