🚸 Add new upload state "Refreshing list"

That will hopefully make it easier to determine whether any slow uploads
are caused by file processing (e.g. by plugins) in the backend during
saving, or by refreshing the file list from the backend after successful
upload.

As discussed here: https://community.octoprint.org/t/24644/13
This commit is contained in:
Gina Häußge committed 2020-10-02 11:05:11 +02:00
1 parent d06e0c5e94
commit 8377b59217
1 file changed
+2
@@ -1251,6 +1251,8 @@ $(function() {
};
self._handleUploadDone = function(e, data) {
self._setProgressBar(100, gettext("Refreshing list ..."), true);
var focus = undefined;
if (data.result.files.hasOwnProperty("sdcard")) {
focus = {location: "sdcard", path: data.result.files.sdcard.path};