🚸 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:
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};
|
||||
|
||||
Reference in new issue
Block a user