fix bug 316
This commit is contained in:
parent
41831a2e53
commit
4132192a0f
|
@ -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():
|
||||
|
|
Reference in New Issue