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:
Jacob Kaplan-Moss 2005-08-02 17:45:53 +00:00
parent d9401b78f1
commit 2e83364965
1 changed files with 1 additions and 2 deletions

View File

@ -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();
} }
} }