Ext.Msg: switch from depreacated msg to message property

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-11-26 12:58:50 +01:00
parent 4beef5c455
commit 16c0a0b570
2 changed files with 2 additions and 2 deletions

View File

@ -381,7 +381,7 @@ Ext.define('Proxmox.Utils', { utilities: {
Ext.Msg.show({
title: gettext('No valid subscription'),
icon: Ext.Msg.WARNING,
msg: Proxmox.Utils.getNoSubKeyHtml(data.url),
message: Proxmox.Utils.getNoSubKeyHtml(data.url),
buttons: Ext.Msg.OK,
callback: function(btn) {
if (btn !== 'ok') {

View File

@ -46,7 +46,7 @@ Ext.define('Proxmox.button.Button', {
Ext.Msg.show({
title: gettext('Confirm'),
icon: me.dangerous ? Ext.Msg.WARNING : Ext.Msg.QUESTION,
msg: msg,
message: msg,
buttons: Ext.Msg.YESNO,
defaultFocus: me.dangerous ? 'no' : 'yes',
callback: function(btn) {