From: Mike Taylor Date: Wed, 12 Feb 2014 18:40:28 +0000 (+0000) Subject: Initialise debug_level to 1 so that the jQuery popup can use it. X-Git-Tag: 1.0.0~1458 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=89522ed15b98ee3d665fef7887b1a9ab87134647;p=mkws-moved-to-github.git 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. --- 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: {