]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: form store node selector: improve variable name clarity slightly
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 31 Jan 2023 16:58:01 +0000 (17:58 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 31 Jan 2023 16:58:01 +0000 (17:58 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/form/ComboBoxSetStoreNode.js

index a127af3a5160ad8ac1a405b7a83c539d1183f78e..6db9e6ffeea8e87b62c6fb261aff6a0be87b07c2 100644 (file)
@@ -30,12 +30,12 @@ Ext.define('PVE.form.ComboBoxSetStoreNode', {
     },
 
     tbarMouseDown: function() {
-       this.mousePressed = true;
+       this.topBarMousePress = true;
     },
 
     tbarMouseUp: function() {
        let me = this;
-       delete this.mousePressed;
+       delete this.topBarMousePress;
        if (me.focusLeft) {
            me.focus();
            delete me.focusLeft;
@@ -46,7 +46,7 @@ Ext.define('PVE.form.ComboBoxSetStoreNode', {
     onFocusLeave: function() {
        let me = this;
        me.focusLeft = true;
-       if (!me.mousePressed) {
+       if (!me.topBarMousePress) {
            me.callParent(arguments);
        }