Permalink
Browse files

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
  • Loading branch information...
1 parent d9401b7 commit 2e83364965d2684f0361cbc37617e0cab0fcc104 @jacobian jacobian committed Aug 2, 2005
Showing with 1 addition and 2 deletions.
  1. +1 −2 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();
}
}

0 comments on commit 2e83364

Please sign in to comment.