From 757cc58a6c3db25ac71c9064e862c37f711a62ef Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 30 Jan 2017 12:10:56 +0100 Subject: [PATCH] fix cookie setup (use correct name) --- Utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2