From d4496a5ed07518786471ed0a31676538f3aadb8a Mon Sep 17 00:00:00 2001
From: Bastian Kleineidam <calvin@debian.org>
Date: Fri, 25 Jan 2008 19:06:55 +0100
Subject: Add missing cal_nav JS box to calendar
Signed-off-by: Bastian Kleineidam <calvin@debian.org>
diff --git a/django/contrib/admin/media/js/admin/DateTimeShortcuts.js b/django/contrib/admin/media/js/admin/DateTimeShortcuts.js
index aeaac15..fe88a0e 100644
a
|
b
|
var DateTimeShortcuts = {
|
154 | 154 | addEvent(cal_box, 'click', DateTimeShortcuts.cancelEventPropagation); |
155 | 155 | |
156 | 156 | // next-prev links |
| 157 | var cal_nav = quickElement('div', cal_box, ''); |
157 | 158 | var cal_nav_prev_year = quickElement('a', cal_nav, '<<', 'href', 'javascript:DateTimeShortcuts.drawPrevYear('+num+');'); |
158 | 159 | cal_nav_prev_year.className = 'calendarnav-previous calnav-prev1'; |
159 | 160 | var cal_nav_prev_month = quickElement('a', cal_nav, '<', 'href', 'javascript:DateTimeShortcuts.drawPrevMonth('+num+');'); |