From 2b487a5097dac92cd8231eeff01cb6927aec4c8f Mon Sep 17 00:00:00 2001 From: bgigon Date: Fri, 25 Jun 2004 14:46:13 +0000 Subject: [PATCH] Fixbug for Opera --- phpgwapi/js/jscalendar/calendar.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/phpgwapi/js/jscalendar/calendar.js b/phpgwapi/js/jscalendar/calendar.js index 54d8048578..5c44fc493e 100644 --- a/phpgwapi/js/jscalendar/calendar.js +++ b/phpgwapi/js/jscalendar/calendar.js @@ -1732,13 +1732,6 @@ Date.prototype.print = function (str) { s["%%"] = "%"; // a literal '%' character var re = /%./g; -/* - if (!Calendar.is_ie5 && !Calendar.is_opera) - 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; }); - var a = str.match(re); for (var i = 0; i < a.length; i++) {