some adjustments on permissions for editing and showing certain portlets
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1623 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
00aa042550
commit
89ffe21b86
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ class BaseView(GenericView):
|
|||
|
||||
@Lazy
|
||||
def xeditable(self):
|
||||
ct = getattr(self.context, 'contentType', '')
|
||||
ct = getattr(self.context, 'contentType', 'application/pdf')
|
||||
if ct == 'application/pdf':
|
||||
return False
|
||||
if ct.startswith('text/'):
|
||||
|
|
Loading…
Add table
Reference in a new issue