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:
parent
c2a5c49ac2
commit
0bbe1f4425
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue