fix for IE8 using method indexOf as key while iterating over trans

This commit is contained in:
Klaus Leithoff 2012-05-09 14:49:24 +00:00
parent f3547273c7
commit e49c5850e5

View File

@ -143,7 +143,7 @@ egw.extend('calendar', egw.MODULE_WND_LOCAL, function(_app, _wnd) {
}
else
{
trans[key] = full[key].substr(0,translate_fields[i]);
if (key != 'indexOf') trans[key] = full[key].substr(0,translate_fields[i]);
}
}
// Keep the full one for missing short ones