From f51badf1ef744fdf4e4f594b4f317963f75d73d4 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 8 Jun 2004 12:26:54 +0000 Subject: [PATCH] fix for broken date.print function under opera --- phpgwapi/js/jscalendar/calendar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/jscalendar/calendar.js b/phpgwapi/js/jscalendar/calendar.js index 53bca46034..3c60ba18f2 100644 --- a/phpgwapi/js/jscalendar/calendar.js +++ b/phpgwapi/js/jscalendar/calendar.js @@ -1732,7 +1732,7 @@ Date.prototype.print = function (str) { s["%%"] = "%"; // a literal '%' character var re = /%./g; - if (!Calendar.is_ie5) + if (!Calendar.is_ie5 && !Calendar.is_opera) return str.replace(re, function (par) { return s[par] || par; }); var a = str.match(re);