From 4132192a0f9c72ba84fb4db31d836327ab39ebb3 Mon Sep 17 00:00:00 2001 From: fpeters <> Date: Fri, 14 May 2004 15:36:32 +0000 Subject: [PATCH] fix bug 316 --- shared/web/RubricsWeb.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shared/web/RubricsWeb.py b/shared/web/RubricsWeb.py index 64879df4..8062d468 100644 --- a/shared/web/RubricsWeb.py +++ b/shared/web/RubricsWeb.py @@ -68,6 +68,7 @@ class Rubric(ObjectWebMixin, Rubric): def getViewLayout(self, fields, parentSlot = None): layout = X.array() + div = layout if self.contentId: web = getWeb(self.contentId) if web.canGetObject(self.contentId): @@ -88,8 +89,6 @@ class Rubric(ObjectWebMixin, Rubric): layout += X.buttonStandalone( 'edit', X.idUrl(self.contentId, 'edit')) div = X.div(_class = 'membersSet') - else: - div = layout slot = self.getSlot('membersSet') if slot.getValue():