# HG changeset patch # User Aurelien Campeas # Date 1293038932 -3600 # Node ID ab6886d5278815d7413a8a54e60245e5350aa95b # Parent 2bbc1010494cb8197f34903e30bad48652911327 [views/reledit] ajax.js not there by default #1382713 diff -r 2bbc1010494c -r ab6886d52788 web/views/reledit.py --- 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, '*')