mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-29 08:34:50 +02:00
refresh after proc exits to get proper file size
This commit is contained in:
parent
c1c473708b
commit
16916b5f54
@ -1176,7 +1176,7 @@ class FileUpload {
|
||||
window.alert(data);
|
||||
})
|
||||
this.proc.done((data) => {
|
||||
|
||||
this.nav_window_ref.refresh();
|
||||
})
|
||||
this.reader.onload = (function(uploader_ref) {
|
||||
return async function(evt) {
|
||||
@ -1220,7 +1220,6 @@ class FileUpload {
|
||||
|
||||
done() {
|
||||
this.proc.input(); // close stdin
|
||||
this.nav_window_ref.refresh();
|
||||
this.remove_html_element();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user