Commit Graph

3 Commits

Author SHA1 Message Date
Dominik Csapak
1344537655 port button from proxmox-widget-toolkit
we want the new behaviour of the proxmox button also in pve, but
we do not want to change to proxmox-widget-toolkit yet

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-14 07:32:20 +02:00
Thomas Lamprecht
8348c25c4c explicit set button focus respecting the 'dangerous' option
The line:
 > Ext.MessageBox.defaultButton = me.dangerous ? 2 : 1;
just set the button which should get triggered on an keyboard "Enter"
if no button is focused currently.

But often the 'Yes' buttons is focused so an enter press would
trigger it, even on a as 'dangerous' marked option.

Fix this, as else a to fast "Enter" press can cause more problems
than needed.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-By: Dominik Csapak <d.csapak@proxmox.com>
2017-06-12 10:24:29 +02:00
Dietmar Maurer
bac5bd135c rename manager5 to manager6 2016-01-22 11:24:10 +01:00