--- a/web/views/reledit.py Wed Dec 22 14:40:35 2010 +0100
+++ b/web/views/reledit.py Wed Dec 22 18:28:52 2010 +0100
@@ -78,7 +78,7 @@
assert rtype
assert role in ('subject', 'object'), '%s is not an acceptable role value' % role
self._cw.add_css('cubicweb.form.css')
- self._cw.add_js('cubicweb.reledit.js', 'cubicweb.edition.js')
+ self._cw.add_js('cubicweb.reledit.js', 'cubicweb.edition.js', 'cubicweb.ajax.js')
entity = self.cw_rset.get_entity(row, col)
rschema = self._cw.vreg.schema[rtype]
self._rules = rctrl.etype_get(entity.e_schema.type, rschema.type, role, '*')