[pve-devel] applied: [PATCH widget-toolkit 1/2] window/Edit: accept bodyPadding from config

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Apr 23 07:38:36 CEST 2020


On 4/9/20 4:10 PM, Dominik Csapak wrote:
> this is sometimes useful, e.g. when using a tabpanel in an edit window
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  window/Edit.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/window/Edit.js b/window/Edit.js
> index 4f236ed..d21c165 100644
> --- a/window/Edit.js
> +++ b/window/Edit.js
> @@ -233,7 +233,7 @@ Ext.define('Proxmox.window.Edit', {
>  	    url: me.url,
>  	    method: me.method || 'PUT',
>  	    trackResetOnLoad: true,
> -	    bodyPadding: 10,
> +	    bodyPadding: me.bodyPadding !== undefined ? me.bodyPadding : 10,
>  	    border: false,
>  	    defaults: Ext.apply({}, me.defaults, {
>  		border: false
> 

applied this one already, seems I forgot to reply here.. thanks!




More information about the pve-devel mailing list