From 89522ed15b98ee3d665fef7887b1a9ab87134647 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 12 Feb 2014 18:40:28 +0000 Subject: [PATCH] Initialise debug_level to 1 so that the jQuery popup can use it. There's a better way to fix this by doing things in the right order, but right now I need the logging to fix a different bug. --- tools/htdocs/mkws.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index fe4e1c9..a886bcf 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -71,7 +71,8 @@ Handlebars.registerHelper('commaList', function(items, options) { // var mkws = { authenticated: false, - debug_level: undefined, // will be initialised from mkws_config + debug_level: 1, // Will be overridden from mkws_config, but + // initial value allows jQuery popup to use logging. paz: undefined, // will be set up during initialisation teams: {}, locale_lang: { -- 1.7.10.4