]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
edit window: fixup syntax mis-hap
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 20 Apr 2024 18:43:19 +0000 (20:43 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 20 Apr 2024 18:43:21 +0000 (20:43 +0200)
argh, it's was a bit to late for the previous clean-up and I forgot to
drop a closing parenthesis after reworking the if expression (and did
test again...).

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/window/Edit.js

index 1c2e63f8c0508a24373964a0dc630c12234f60c7..c2c36fda146bcec1ebe2cb6c2798d459744c1ddf 100644 (file)
@@ -351,7 +351,7 @@ Ext.define('Proxmox.window.Edit', {
 
        me.buttons = [submitBtn];
 
-       if (!me.isCreate && me.showReset)) {
+       if (!me.isCreate && me.showReset) {
            me.tools = [resetTool];
        }