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

[reledit] fix crash due to wrong attributes usage

--HG--
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 http://www.logilab.fr/ -- mailto:contact@logilab.fr # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
# #
# This file is part of CubicWeb. # This file is part of CubicWeb.
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
# #
# You should have received a copy of the GNU Lesser General Public License along # You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>. # with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
"""the 'reedit' feature (eg edit attribute/relation from primary view""" """the 'reledit' feature (eg edit attribute/relation from primary view)"""
__docformat__ = "restructuredtext en" __docformat__ = "restructuredtext en"
_ = unicode _ = unicode
...@@ -221,10 +221,10 @@ class ClickAndEditFormView(EntityView): ...@@ -221,10 +221,10 @@ class ClickAndEditFormView(EntityView):
return self._build_zone(self._editzone, self._editzonemsg, self._editlogo) return self._build_zone(self._editzone, self._editzonemsg, self._editlogo)
def _build_delete_zone(self): 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): 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): def _build_divid(self, rtype, role, entity_eid):
""" builds an id for the root div of a reledit widget """ """ 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