Commit f7c0edb5 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[reledit] fix crash due to wrong attributes usage

branch : stable
parent 9dfd0dea692b
# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact --
# This file is part of CubicWeb.
......@@ -15,7 +15,7 @@
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <>.
"""the 'reedit' feature (eg edit attribute/relation from primary view"""
"""the 'reledit' feature (eg edit attribute/relation from primary view)"""
__docformat__ = "restructuredtext en"
_ = unicode
......@@ -221,10 +221,10 @@ class ClickAndEditFormView(EntityView):
return self._build_zone(self._editzone, self._editzonemsg, self._editlogo)
def _build_delete_zone(self):
return self._build_zone(self._deletezone, self._deletezonemsg, self._deletelogo)
return self._build_zone(self._deletezone, self._deletemsg, self._deletelogo)
def _build_add_zone(self):
return self._build_zone(self._addzone, self._addzonemsg, self._addlogo)
return self._build_zone(self._addzone, self._addmsg, self._addlogo)
def _build_divid(self, rtype, role, entity_eid):
""" builds an id for the root div of a reledit widget """
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment