--- a/web/form.py Thu Apr 09 11:30:13 2009 +0200
+++ b/web/form.py Thu Apr 09 12:34:40 2009 +0200
@@ -201,7 +201,7 @@
# attributes overrideable through __init__
internal_fields = ('__errorurl',) + NAV_FORM_PARAMETERS
- needs_js = ('cubicweb.edition.js',)
+ needs_js = ('cubicweb.ajax.js', 'cubicweb.edition.js',)
needs_css = ('cubicweb.form.css',)
domid = 'form'
title = None
--- a/web/formwidgets.py Thu Apr 09 11:30:13 2009 +0200
+++ b/web/formwidgets.py Thu Apr 09 12:34:40 2009 +0200
@@ -182,7 +182,7 @@
daynames = ('monday', 'tuesday', 'wednesday', 'thursday',
'friday', 'saturday', 'sunday')
- needs_js = ('cubicweb.ajax.js', 'cubicweb.calendar.js')
+ needs_js = ('cubicweb.calendar.js',)
needs_css = ('cubicweb.calendar_popup.css',)
@classmethod