# HG changeset patch # User Aurelien Campeas # Date 1293039751 -3600 # Node ID 799ae44925c48e2c6c32d0a04854c40d8d8055df # Parent ab6886d5278815d7413a8a54e60245e5350aa95b [views/reledit] funky API made this fatal (it was previously only eating the second argument) diff -r ab6886d52788 -r 799ae44925c4 web/views/reledit.py --- a/web/views/reledit.py Wed Dec 22 18:28:52 2010 +0100 +++ b/web/views/reledit.py Wed Dec 22 18:42:31 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', 'cubicweb.ajax.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, '*')