This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
file_manager
version-14
Rushabh Mehta
13 years ago
parent
b9ff989ede
commit
c8eb6404cc
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
py/webnotes/utils/file_manager.py
+ 3
- 1
py/webnotes/utils/file_manager.py
View File
@@ -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!
Write
Preview
Loading…
Cancel
Save