[gen] Added a transparent clickable logo at the top left (or right if rtl) of the page.
This commit is contained in:
parent
90af2e5698
commit
62e2d49953
4 changed files with 9 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue