[Koha-patches] [PATCH] quietens a noisy debug pop-up, when debugging
Mason James
mason.loves.sushi at gmail.com
Wed Mar 18 04:19:34 CET 2009
---
.../intranet-tmpl/prog/en/includes/calendar.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc
index 3515027..c36daa6 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc
@@ -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(/[-/]/);
--
1.5.6.5
More information about the Koha-patches
mailing list