web/form.py
branchtls-sprint
changeset 1311 4cc6e2723dc7
parent 1308 3d01229d9f6a
child 1312 df7f847e1388
equal deleted inserted replaced
1310:99dfced5673e 1311:4cc6e2723dc7
   199     
   199     
   200     is_subform = False
   200     is_subform = False
   201     
   201     
   202     # attributes overrideable through __init__
   202     # attributes overrideable through __init__
   203     internal_fields = ('__errorurl',) + NAV_FORM_PARAMETERS
   203     internal_fields = ('__errorurl',) + NAV_FORM_PARAMETERS
   204     needs_js = ('cubicweb.edition.js',)
   204     needs_js = ('cubicweb.ajax.js', 'cubicweb.edition.js',)
   205     needs_css = ('cubicweb.form.css',)
   205     needs_css = ('cubicweb.form.css',)
   206     domid = 'form'
   206     domid = 'form'
   207     title = None
   207     title = None
   208     action = None
   208     action = None
   209     onsubmit = "return freezeFormButtons('%(domid)s');"
   209     onsubmit = "return freezeFormButtons('%(domid)s');"