mirror of
https://github.com/django/django.git
synced 2025-06-05 11:39:13 +00:00
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) {
|
dismissCalendar: function(num) {
|
||||||
document.getElementById(DateTimeShortcuts.calendarDivName1+num).style.display = 'none';
|
document.getElementById(DateTimeShortcuts.calendarDivName1+num).style.display = 'none';
|
||||||
window.onclick = null;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
drawPrev: function(num) {
|
drawPrev: function(num) {
|
||||||
@ -196,7 +195,7 @@ var DateTimeShortcuts = {
|
|||||||
cancelEventPropagation: function(e) {
|
cancelEventPropagation: function(e) {
|
||||||
if (!e) var e = window.event;
|
if (!e) var e = window.event;
|
||||||
e.cancelBubble = true;
|
e.cancelBubble = true;
|
||||||
if (e.stripPropagation) e.stopPropagation();
|
if (e.stopPropagation) e.stopPropagation();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user