]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/ObjectGroup.js
objects: don't reload on match mode change
[pmg-gui.git] / js / ObjectGroup.js
index 214e6419f92b1c7d32cd2c69d1e9c3a2e5fb7e98..d72d47c229d6c529b012d294dc80a92f01866dc6 100644 (file)
@@ -263,7 +263,11 @@ Ext.define('PMG.ObjectGroup', {
                                            and,
                                            invert,
                                        },
-                                       success: () => me.fireEvent('modeUpdate', me),
+                                       success: () => {
+                                           me.fireEvent('modeUpdate', me, !!and, !!invert);
+                                           me.down('#whatWarning')
+                                               .setHidden(me.objectClass !== 'what' || value === 'any');
+                                       },
                                    });
                                },
                            },