]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
Ext.Msg: switch from depreacated msg to message property
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Nov 2019 11:58:50 +0000 (12:58 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Nov 2019 11:58:50 +0000 (12:58 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Utils.js
button/Button.js

index 3a8fa9abc786238cd9042748a2344ad99ec049e4..8eee10b6951ef40035bbd8a0c58dd41e434cf3aa 100644 (file)
--- 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') {
index 89d273e92248feccf5023dbb2bd8b9e1ae9537ec..203d26cab341a3a0779b4b71de7cda47a75ac035 100644 (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) {