From 2e83364965d2684f0361cbc37617e0cab0fcc104 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Tue, 2 Aug 2005 17:45:53 +0000 Subject: [PATCH] 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 --- django/conf/admin_media/js/admin/DateTimeShortcuts.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/django/conf/admin_media/js/admin/DateTimeShortcuts.js b/django/conf/admin_media/js/admin/DateTimeShortcuts.js index 3909754928..a1afd2a6fa 100644 --- a/django/conf/admin_media/js/admin/DateTimeShortcuts.js +++ b/django/conf/admin_media/js/admin/DateTimeShortcuts.js @@ -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(); } }