Uncaught TypeError: callback is not a function at
HTMLAnchorElement.onClick (calendar.js:106)
--
Ticket URL: <https://code.djangoproject.com/ticket/27913>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by Tim Graham):
Could you please add more details? Are you using any third-party apps
which may be causing the problem? Does it reproduce across all browsers?
Can you provide a sample project that reproduces the problem? I don't see
any errors in Firefox using the date picker at
`/admin/polls/question/add/` in the Django tutorial.
--
Ticket URL: <https://code.djangoproject.com/ticket/27913#comment:1>
Comment (by Martín Peveri):
Yes, i am using https://github.com/fabiocaccamo/django-admin-interface.
Django-admin-interface does not have the calendar.js file.
In this line is the error:
https://github.com/django/django/blob/3c447b108ac70757001171f7a4791f493880bf5b/django/contrib/admin/static/admin/js/calendar.js#L106
It happens to me in all browsers.
Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/27913#comment:2>
Comment (by Tim Graham):
Please explain why Django is at fault rather than the third-party app. If
you could provide a patch, that would be ideal.
--
Ticket URL: <https://code.djangoproject.com/ticket/27913#comment:3>
Comment (by Martín Peveri):
Because the application does not have that calendar.js file. I'll check it
out to see what I find
--
Ticket URL: <https://code.djangoproject.com/ticket/27913#comment:4>
* status: new => closed
* resolution: => invalid
Comment:
The error was from the third-party application.
Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/27913#comment:5>