]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix undefined JS on login/setup page
authorVincent Petry <pvince81@owncloud.com>
Fri, 30 May 2014 17:02:19 +0000 (19:02 +0200)
committerVincent Petry <pvince81@owncloud.com>
Fri, 30 May 2014 17:02:19 +0000 (19:02 +0200)
core/js/js.js

index e31f67cca9cf028222d235115822da2ac14bceed..cf35d8aac6a9af972807cf823904d51fc180759b 100644 (file)
@@ -179,9 +179,9 @@ var OC={
        webroot:oc_webroot,
        appswebroots:(typeof oc_appswebroots !== 'undefined') ? oc_appswebroots:false,
        currentUser:(typeof oc_current_user!=='undefined')?oc_current_user:false,
-       config: oc_config,
-       appConfig: oc_appconfig || {},
-       theme: oc_defaults || {},
+       config: window.oc_config,
+       appConfig: window.oc_appconfig || {},
+       theme: window.oc_defaults || {},
        coreApps:['', 'admin','log','search','settings','core','3rdparty'],
        
        /**