Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Jacob Kaplan-Moss authored August 02, 2005
3  django/conf/admin_media/js/admin/DateTimeShortcuts.js
@@ -171,7 +171,6 @@ var DateTimeShortcuts = {
171 171
     
172 172
     dismissCalendar: function(num) {
173 173
         document.getElementById(DateTimeShortcuts.calendarDivName1+num).style.display = 'none';
174  
-        window.onclick = null;
175 174
     },
176 175
     
177 176
     drawPrev: function(num) {
@@ -196,7 +195,7 @@ var DateTimeShortcuts = {
196 195
     cancelEventPropagation: function(e) {
197 196
         if (!e) var e = window.event;
198 197
         e.cancelBubble = true;
199  
-        if (e.stripPropagation) e.stopPropagation();
  198
+        if (e.stopPropagation) e.stopPropagation();
200 199
     }
201 200
     
202 201
 }

0 notes on commit 2e83364

Please sign in to comment.
Something went wrong with that request. Please try again.