[pve-devel] applied: [PATCH manager] fix #1385: display no rbd user by default
Wolfgang Bumiller
w.bumiller at proxmox.com
Thu Jun 8 15:17:49 CEST 2017
applied
On Thu, May 18, 2017 at 09:42:17AM +0200, Dominik Csapak wrote:
> when having an rbd storage with no user, we displayed 'admin' by default,
> this patch sets '' and will be overwritten from the backend if a value is set
>
> when creating a rbd storage, the textfield still has 'admin' in
> there by default
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> www/manager6/storage/RBDEdit.js | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/www/manager6/storage/RBDEdit.js b/www/manager6/storage/RBDEdit.js
> index d8ae300d..64776e6e 100644
> --- a/www/manager6/storage/RBDEdit.js
> +++ b/www/manager6/storage/RBDEdit.js
> @@ -47,7 +47,7 @@ Ext.define('PVE.storage.RBDInputPanel', {
> {
> xtype: me.isCreate ? 'textfield' : 'displayfield',
> name: 'username',
> - value: 'admin',
> + value: me.isCreate ? 'admin': '',
> fieldLabel: gettext('User name'),
> allowBlank: true
> }
> --
> 2.11.0
More information about the pve-devel
mailing list