diff --git a/src/Utils.js b/src/Utils.js index f269607..07c1601 100644 --- a/src/Utils.js +++ b/src/Utils.js @@ -527,12 +527,7 @@ utilities: { // Proxmox.Async.api2({ // ... // }).catch(Proxmox.Utils.alertResponseFailure); - alertResponseFailure: (response) => { - Ext.Msg.alert( - gettext('Error'), - response.htmlStatus || response.result.message, - ); - }, + alertResponseFailure: res => Ext.Msg.alert(gettext('Error') res.htmlStatus || res.result.message), checked_command: function(orig_cmd) { Proxmox.Utils.API2Request(