Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 2e83364965d2684f0361cbc37617e0cab0fcc104 1 parent d9401b7
@jacobian jacobian authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  django/conf/admin_media/js/admin/DateTimeShortcuts.js
View
3  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();
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.