diff --git a/button/Button.js b/button/Button.js index e02ea8d..0d65d57 100644 --- a/button/Button.js +++ b/button/Button.js @@ -48,6 +48,7 @@ Ext.define('Proxmox.button.Button', { icon: me.dangerous ? Ext.Msg.WARNING : Ext.Msg.QUESTION, msg: msg, buttons: Ext.Msg.YESNO, + defaultFocus: me.dangerous ? 'no' : 'yes', callback: function(btn) { if (btn !== 'yes') { return;