From c0b370f6cf8bf2ec3f4af921fc9f6935238ca41d Mon Sep 17 00:00:00 2001
From: Bart Visscher <bartv@thisnet.nl>
Date: Thu, 7 Feb 2013 08:11:18 +0100
Subject: Define the variables that are expected to exist but won't be set in
 setup

---
 core/js/js.js | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'core/js/js.js')

diff --git a/core/js/js.js b/core/js/js.js
index 6b0c289850c..80914e954e5 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -5,6 +5,9 @@
  * To the end of config/config.php to enable debug mode.
  * The undefined checks fix the broken ie8 console
  */
+var oc_debug;
+var oc_webroot;
+var oc_requesttoken;
 if (oc_debug !== true || typeof console === "undefined" || typeof console.log === "undefined") {
 	if (!window.console) {
 		window.console = {};
-- 
cgit v1.2.3