summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfpeters <>2004-05-14 15:36:32 (GMT)
committerfpeters <>2004-05-14 15:36:32 (GMT)
commit4132192a0f9c72ba84fb4db31d836327ab39ebb3 (patch)
treeda70c1d0e14c0627f3bdadca91b2f430c6ef62e7
parent41831a2e53f8f801112799482c3ab53303397e68 (diff)
downloadglasnost-4132192a0f9c72ba84fb4db31d836327ab39ebb3.zip
glasnost-4132192a0f9c72ba84fb4db31d836327ab39ebb3.tar.gz
glasnost-4132192a0f9c72ba84fb4db31d836327ab39ebb3.tar.bz2
fix bug 316
-rw-r--r--shared/web/RubricsWeb.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/shared/web/RubricsWeb.py b/shared/web/RubricsWeb.py
index 64879df..8062d46 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():