mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
"not treating newer Safari with old KHTML handling, as it unnecessary hides overlaped selecboxes and NOT restores them"
This commit is contained in:
parent
0814820652
commit
3de4879a18
@ -90,8 +90,8 @@ Calendar.is_ie5_mac = ( Calendar.is_ie && /Mac/i.test(navigator.userAgent) ); //
|
||||
/// detect Opera browser
|
||||
Calendar.is_opera = /opera/i.test(navigator.userAgent);
|
||||
|
||||
/// detect KHTML-based browsers
|
||||
Calendar.is_khtml = /Konqueror|Safari|KHTML/i.test(navigator.userAgent);
|
||||
/// detect KHTML-based browsers, not newer Safari
|
||||
Calendar.is_khtml = /Konqueror|Safari|KHTML/i.test(navigator.userAgent) && !/webkit/i.test(navigator.userAgent);
|
||||
|
||||
// BEGIN: UTILITY FUNCTIONS; beware that these might be moved into a separate
|
||||
// library, at some point.
|
||||
@ -1076,6 +1076,7 @@ Calendar._keyEvent = function(ev) {
|
||||
*/
|
||||
Calendar.prototype._init = function (firstDayOfWeek, date) {
|
||||
var today = new Date();
|
||||
date.setHours(12); // Bugfix: Required for daylight saving!!!
|
||||
this.table.style.visibility = "hidden";
|
||||
var year = date.getFullYear();
|
||||
if (year < this.minYear) {
|
||||
|
Loading…
Reference in New Issue
Block a user