[pve-devel] [PATCH pve-manager] Fix help text. Current text has opposite meaning.

Dietmar Maurer dietmar at proxmox.com
Tue Feb 21 06:05:43 CET 2017


I would like to keep the text, and instead change/negate the value before
sending it to the server (inside onGetValues) ...

> On February 20, 2017 at 6:17 PM Michael Rasmussen <mir at datanom.net> wrote:
> 
> 
> The text displayed does not reflect the actual functionality
> since a checked settings means 'do not use write cache'.
> 
> Signed-off-by: Michael Rasmussen <mir at datanom.net>
> ---
>  www/manager6/storage/ZFSEdit.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/www/manager6/storage/ZFSEdit.js b/www/manager6/storage/ZFSEdit.js
> index 12d6af1..9d7e820 100644
> --- a/www/manager6/storage/ZFSEdit.js
> +++ b/www/manager6/storage/ZFSEdit.js
> @@ -93,7 +93,7 @@ Ext.define('PVE.storage.ZFSInputPanel', {
>  		name: 'nowritecache',
>  		checked: true,
>  		uncheckedValue: 0,
> -		fieldLabel: gettext('Write cache')
> +		fieldLabel: gettext('No write cache')
>  	    },
>  	    {
>  		xtype: me.create ? 'textfield' : 'displayfield',
> -- 
> 2.1.4
> 
> _______________________________________________
> 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