diff --git a/browser/common.py b/browser/common.py index 4e8900f..45cf127 100644 --- a/browser/common.py +++ b/browser/common.py @@ -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/'):