From 16c0a0b570dd950a9108fa5a20233f7f4a9544c1 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 26 Nov 2019 12:58:50 +0100 Subject: [PATCH] Ext.Msg: switch from depreacated msg to message property Signed-off-by: Thomas Lamprecht --- Utils.js | 2 +- button/Button.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Utils.js b/Utils.js index 3a8fa9a..8eee10b 100644 --- a/Utils.js +++ b/Utils.js @@ -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') { diff --git a/button/Button.js b/button/Button.js index 89d273e..203d26c 100644 --- a/button/Button.js +++ b/button/Button.js @@ -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) { -- 2.39.2