[gen] Ref.numbered: when clicking on the number, it gets selected automatically: when hitting then 'enter' key it has the same effect as clickin on the 'move' image.

This commit is contained in:
Gaetan Delannay 2014-07-31 17:04:08 +02:00
parent 302d54c7ce
commit fdb8b92fcb
2 changed files with 8 additions and 4 deletions

View file

@ -404,7 +404,7 @@ class File(Field):
info.copyFile(self.name, value, dbFolder)
else:
# Cases e, f. Extract file name, content and MIME type.
fileName = None
fileName = mimeType = None
if len(value) == 2:
fileName, fileContent = value
elif len(value) == 3: