public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup] ui: prune keep input: actually clear value on clear trigger click
@ 2024-11-27  8:41 Dominik Csapak
  2024-11-27 10:56 ` [pbs-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2024-11-27  8:41 UTC (permalink / raw)
  To: pbs-devel

instead of resetting to the originalValue. This makes it behave like
other similar fields (e.g. the combogrid).

Reported-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
 www/datastore/Prune.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/datastore/Prune.js b/www/datastore/Prune.js
index 5752907e3..e0ff4f2dc 100644
--- a/www/datastore/Prune.js
+++ b/www/datastore/Prune.js
@@ -32,7 +32,7 @@ Ext.define('PBS.PruneKeepInput', {
 	    hidden: true,
 	    handler: function() {
 		this.triggers.clear.setVisible(false);
-		this.setValue(this.originalValue);
+		this.setValue("");
 	    },
 	},
     },
-- 
2.39.5



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pbs-devel] applied: [PATCH proxmox-backup] ui: prune keep input: actually clear value on clear trigger click
  2024-11-27  8:41 [pbs-devel] [PATCH proxmox-backup] ui: prune keep input: actually clear value on clear trigger click Dominik Csapak
@ 2024-11-27 10:56 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2024-11-27 10:56 UTC (permalink / raw)
  To: Proxmox Backup Server development discussion, Dominik Csapak

Am 27.11.24 um 09:41 schrieb Dominik Csapak:
> instead of resetting to the originalValue. This makes it behave like
> other similar fields (e.g. the combogrid).
> 
> Reported-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
> Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
> ---
>  www/datastore/Prune.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, thanks!


_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-27 10:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-27  8:41 [pbs-devel] [PATCH proxmox-backup] ui: prune keep input: actually clear value on clear trigger click Dominik Csapak
2024-11-27 10:56 ` [pbs-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal