Ticket #6487: 0014-Add-missing-cal_nav-JS-box-to-calendar.patch

File 0014-Add-missing-cal_nav-JS-box-to-calendar.patch, 1.1 KB (added by Bastian Kleineidam <calvin@…>, 17 years ago)
  • django/contrib/admin/media/js/admin/DateTimeShortcuts.js

    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 = {  
    154154        addEvent(cal_box, 'click', DateTimeShortcuts.cancelEventPropagation);
    155155
    156156        // next-prev links
     157        var cal_nav = quickElement('div', cal_box, '');
    157158        var cal_nav_prev_year = quickElement('a', cal_nav, '<<', 'href', 'javascript:DateTimeShortcuts.drawPrevYear('+num+');');
    158159        cal_nav_prev_year.className = 'calendarnav-previous calnav-prev1';
    159160        var cal_nav_prev_month = quickElement('a', cal_nav, '<', 'href', 'javascript:DateTimeShortcuts.drawPrevMonth('+num+');');
Back to Top