this should not be here, rather where we include the language files
(like in pve), because this is not ecma conform and behaves very
different in different browsers (e.g. safari ignores the if check
completely and simply uses that function definition)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Ext.ns('Proxmox');
Ext.ns('Proxmox.Setup');
-if (!Ext.isFunction(gettext)) {
- function gettext(buf) { return buf; }
-}
-
if (!Ext.isDefined(Proxmox.Setup.auth_cookie_name)) {
throw "Proxmox library not initialized";
}