Przeglądaj źródła

file_manager

version-14
Rushabh Mehta 13 lat temu
rodzic
commit
c8eb6404cc
1 zmienionych plików z 3 dodań i 1 usunięć
  1. +3
    -1
      py/webnotes/utils/file_manager.py

+ 3
- 1
py/webnotes/utils/file_manager.py Wyświetl plik

@@ -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!


Ładowanie…
Anuluj
Zapisz