inline javascript in widgets does not get rendered when p.a.jquerytools is used (for example in p.a.registry)
Bug #909011 reported by
Domen Kožar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
z3c.form |
Opinion
|
Undecided
|
Unassigned |
Bug Description
p.a.jquerytools strips out inline javascript on ajax requests:
When used with p.a.registry it uses p.a.jquerytools to display forms to users, but widgets as OrderedSelectWidget are unsuable with stripped javascript.
This would require z3c.form to ship with GS and registered javascript files. Would that be OK?
To post a comment you must log in.
What is GS?
I would like to make this configurable, since inserting additional JS files into a template is outside the scope of the form and requires a specific configuration of the app.
Alternatively, you could provide (as part of z3c.form) an alternative template for the orderedselect widget and a JS file.
I am open to look at a patch.