mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-08-11 10:24:17 +00:00
Ext.Msg: switch from depreacated msg to message property
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
4beef5c455
commit
16c0a0b570
2
Utils.js
2
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') {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user