Merge branch 'master' of github.com:webnotes/wnframework
This commit is contained in:
commit
b2bbadba5a
1 changed files with 3 additions and 1 deletions
|
|
@ -20,7 +20,9 @@ def upload():
|
|||
fid, fname = save_uploaded()
|
||||
|
||||
# save it in the form
|
||||
updated = add_file_list(dt, dn, fname, fid)
|
||||
updated = False
|
||||
if fid:
|
||||
updated = add_file_list(dt, dn, fname, fid)
|
||||
|
||||
if fid and updated:
|
||||
# refesh the form!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue