forked from extern/egroupware
Fixbug for Opera
This commit is contained in:
parent
ebb01e7c9d
commit
2b487a5097
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user