mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-08-11 12:24:32 +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({
|
Ext.Msg.show({
|
||||||
title: gettext('No valid subscription'),
|
title: gettext('No valid subscription'),
|
||||||
icon: Ext.Msg.WARNING,
|
icon: Ext.Msg.WARNING,
|
||||||
msg: Proxmox.Utils.getNoSubKeyHtml(data.url),
|
message: Proxmox.Utils.getNoSubKeyHtml(data.url),
|
||||||
buttons: Ext.Msg.OK,
|
buttons: Ext.Msg.OK,
|
||||||
callback: function(btn) {
|
callback: function(btn) {
|
||||||
if (btn !== 'ok') {
|
if (btn !== 'ok') {
|
||||||
|
@ -46,7 +46,7 @@ Ext.define('Proxmox.button.Button', {
|
|||||||
Ext.Msg.show({
|
Ext.Msg.show({
|
||||||
title: gettext('Confirm'),
|
title: gettext('Confirm'),
|
||||||
icon: me.dangerous ? Ext.Msg.WARNING : Ext.Msg.QUESTION,
|
icon: me.dangerous ? Ext.Msg.WARNING : Ext.Msg.QUESTION,
|
||||||
msg: msg,
|
message: msg,
|
||||||
buttons: Ext.Msg.YESNO,
|
buttons: Ext.Msg.YESNO,
|
||||||
defaultFocus: me.dangerous ? 'no' : 'yes',
|
defaultFocus: me.dangerous ? 'no' : 'yes',
|
||||||
callback: function(btn) {
|
callback: function(btn) {
|
||||||
|
Loading…
Reference in New Issue
Block a user