# HG changeset patch # User Nicolas Chauvat # Date 1264795657 -3600 # Node ID 1b87d51f34d36ee688d28df0f318dd2c7b431dcd # Parent eaff00ef0a712173ebc608451e8cb7a2c07efccd bugfix diff -r eaff00ef0a71 -r 1b87d51f34d3 web/views/actions.py --- a/web/views/actions.py Fri Jan 29 18:57:37 2010 +0100 +++ b/web/views/actions.py Fri Jan 29 21:07:37 2010 +0100 @@ -297,10 +297,10 @@ __redirectvid=self._cw.form.get('vid', '')) -class ViewSameCWEType(Action): +class ViewSameCWEType(action.Action): """when displaying the schema of a CWEType, offer to list entities of that type """ - id = 'entitiesoftype' + __regid__ = 'entitiesoftype' __select__ = one_line_rset() & implements('CWEType') category = 'mainactions' order = 40