quietens a noisy debug pop-up, when debugging

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
Mason James 2009-03-18 16:19:34 +13:00 committed by Galen Charlton
parent 13665732e8
commit dacb4e0e60
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
var debug = "<!-- TMPL_VAR Name="debug" -->";
var dformat = "<!-- TMPL_VAR Name="dateformat" -->";
var sentmsg = 0;
if (debug > 0) {alert("dateformat: " + dformat + "\ndebug is on (level " + debug + ")");}
if (debug > 1) {alert("dateformat: " + dformat + "\ndebug is on (level " + debug + ")");}
function Date_from_syspref(dstring) {
var dateX = dstring.split(/[-/]/);