[pve-devel] [PATCH] Change iscsi provider to drop-down box Available isci providers are listed in a drop-down box for the user to choose. Fix some indentation problems as well.

Dietmar Maurer dietmar at proxmox.com
Thu Oct 24 06:09:31 CEST 2013


>      onGetValues: function(values) {
> -	var me = this;
> +    var me = this;
> 
> -	if (me.create) {
> -	    values.type = 'zfs';
> -	    values.content = 'images';
> -	} else {
> -	    delete values.storage;
> -	}
> +    if (me.create) {
> +        values.type = 'zfs';
> +        values.content = 'images';
> +    } else {
> +        delete values.storage;
> +    }
> 
> -	values.disable = values.enable ? 0 : 1;
> -	delete values.enable;
> +    values.disable = values.enable ? 0 : 1;
> +    delete values.enable;
> 
> -	return values;
> +    return values;
>      },

What is that exactly?




More information about the pve-devel mailing list