DateTimeShortcuts.js now calls the right dismiss function; thanks jhernandez

git-svn-id: http://code.djangoproject.com/svn/django/trunk@300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2005-07-22 21:56:50 +00:00
parent c2a5c49ac2
commit 0bbe1f4425
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ var DateTimeShortcuts = {
quickElement("a", quickElement("li", time_list, ""), "Noon", "href", "javascript:DateTimeShortcuts.handleClockQuicklink(" + num + ", '12:00');") quickElement("a", quickElement("li", time_list, ""), "Noon", "href", "javascript:DateTimeShortcuts.handleClockQuicklink(" + num + ", '12:00');")
cancel_p = quickElement('p', clock_box, '', 'class', 'calendar-cancel'); cancel_p = quickElement('p', clock_box, '', 'class', 'calendar-cancel');
quickElement('a', cancel_p, 'Cancel', 'href', 'javascript:DateTimeShortcuts.dismissCalendar(' + num + ');'); quickElement('a', cancel_p, 'Cancel', 'href', 'javascript:DateTimeShortcuts.dismissClock(' + num + ');');
}, },
openClock: function(num) { openClock: function(num) {