]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
fix cookie setup (use correct name)
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 30 Jan 2017 11:10:56 +0000 (12:10 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 30 Jan 2017 11:26:57 +0000 (12:26 +0100)
Utils.js

index 043eab09f946d0f5620833e8f80bc380441f1e4e..7447f05b99d4c6acbea309dae61f03005a328294 100644 (file)
--- 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