diff --git a/Utils.js b/Utils.js index 043eab0..7447f05 100644 --- a/Utils.js +++ b/Utils.js @@ -5,8 +5,8 @@ Ext.ns('Proxmox.Setup'); function gettext(buf) { return buf; } -if (!Ext.isDefined(Proxmox.Setup.auth_cookie)) { - trow "Proxmox library not initialize"; +if (!Ext.isDefined(Proxmox.Setup.auth_cookie_name)) { + throw "Proxmox library not initialized"; } // avoid errors related to Accessible Rich Internet Applications