forked from extern/egroupware
"Patch for IE 6/7 checking if the Calendar Element is loaded"
This commit is contained in:
parent
8d2816b0bb
commit
1569576645
@ -167,6 +167,7 @@ function monthClicked(calendar,monthstart) {
|
||||
window.location = "'.$monthUrl.'&date=" + monthstart.print("%Y%m%d");
|
||||
}
|
||||
' : '').'
|
||||
if (document.Calendar){
|
||||
Calendar.setup(
|
||||
{
|
||||
flat : "'.$id.'",
|
||||
@ -176,8 +177,10 @@ Calendar.setup(
|
||||
flatMonthCallback : monthClicked' : '').($monthTTip ? ',
|
||||
flatMonthTTip : "'.addslashes($monthTTip).'"' : '').($date ? ',
|
||||
date : "'.$date.'"
|
||||
' : '').' }
|
||||
' : '').'
|
||||
}
|
||||
);
|
||||
}
|
||||
</script>';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user