Commit 8d44236a authored by Dietmar Maurer's avatar Dietmar Maurer

use warning icon for dangerous actions

parent f3ddc10d
......@@ -42,8 +42,8 @@ Ext.define('PVE.button.Button', {
}
Ext.MessageBox.defaultButton = me.dangerous ? 2 : 1;
Ext.Msg.show({
title: gettext('Confirmtest'),
icon: 'ext-mb-question',
title: gettext('Confirm'),
icon: me.dangerous ? Ext.Msg.WARNING : Ext.Msg.QUESTION,
msg: msg,
buttons: Ext.Msg.YESNO,
callback: function(btn) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment