mirror of https://github.com/django/django.git
Calendar next/prev popups now work in Safari (fixed #2)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
d9401b78f1
commit
2e83364965
|
@ -171,7 +171,6 @@ var DateTimeShortcuts = {
|
|||
|
||||
dismissCalendar: function(num) {
|
||||
document.getElementById(DateTimeShortcuts.calendarDivName1+num).style.display = 'none';
|
||||
window.onclick = null;
|
||||
},
|
||||
|
||||
drawPrev: function(num) {
|
||||
|
@ -196,7 +195,7 @@ var DateTimeShortcuts = {
|
|||
cancelEventPropagation: function(e) {
|
||||
if (!e) var e = window.event;
|
||||
e.cancelBubble = true;
|
||||
if (e.stripPropagation) e.stopPropagation();
|
||||
if (e.stopPropagation) e.stopPropagation();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue