X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=tools%2Fhtdocs%2Fmkws.js;h=a886bcf85f3326f0f2b34ee0cd8f29bbe1a1aa32;hb=89522ed15b98ee3d665fef7887b1a9ab87134647;hp=7436ae9ba4e72cbd59a957cdbbb7eeef7b9de075;hpb=a75167589d904b76aa5cdf466d6fc44a4aa1d43b;p=mkws-moved-to-github.git diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 7436ae9..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: { @@ -348,7 +349,6 @@ function team($, teamName) { function target_filtered(id) { - debug("target_filtered(" + id + ")"); for (var i = 0; i < m_filters.length; i++) { if (m_filters[i].id === id || m_filters[i].id === 'pz:id=' + id) { @@ -870,8 +870,8 @@ function team($, teamName) { mkws.handle_node_with_team(node, function(tname) { $(node).html('\
\ - \ - \ + \ + \
'); }); }); @@ -891,13 +891,13 @@ function team($, teamName) { \ \ \ \ \ \
\ -
\ +
\
\ -
\ -
\ -
\ -
\ +
\ +
\ +
\ +
\