[gen] Added a transparent clickable logo at the top left (or right if rtl) of the page.

This commit is contained in:
Gaetan Delannay 2014-03-05 22:01:51 +01:00
parent 90af2e5698
commit 62e2d49953
4 changed files with 9 additions and 11 deletions

View file

@ -400,7 +400,7 @@ class File(Field):
if rq: action = rq.get('%s_delete' % self.name, None)
if action != 'nochange':
# Delete the file on disk
info = getattr(zobj.aq_base, self.name)
info = getattr(zobj.aq_base, self.name, None)
if info:
info.removeFile(zobj.getDbFolder(), removeEmptyFolders=True)
# Delete the FileInfo in the DB