From ebb01e7c9dbd85a156b27ad541b51d047280f5bf Mon Sep 17 00:00:00 2001 From: bgigon Date: Fri, 25 Jun 2004 12:59:22 +0000 Subject: [PATCH] Reframing of comments --- phpgwapi/js/jscalendar/calendar.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpgwapi/js/jscalendar/calendar.js b/phpgwapi/js/jscalendar/calendar.js index 3a6240fccd..54d8048578 100644 --- a/phpgwapi/js/jscalendar/calendar.js +++ b/phpgwapi/js/jscalendar/calendar.js @@ -1734,12 +1734,11 @@ Date.prototype.print = function (str) { var re = /%./g; /* if (!Calendar.is_ie5 && !Calendar.is_opera) - return str.replace(re, re); + return str.replace(re, function (par) { return s[par] || par; }); */ if (Calendar.is_opera || Calendar.is_ie5) return str.replace(re, function(par) { return s[par] || par; }); -// return str.replace(re, function (par) { return s[par] || par; }); var a = str.match(re); for (var i = 0; i < a.length; i++) {