Merge branch 'fix/wrongJsReference' into devel
Conflicts: src/octoprint/static/js/app/dataupdater.js
This commit is contained in:
commit
8eab664a34
2 files changed
+4
-1
No files matched your search
@@ -201,7 +201,6 @@ function DataUpdater(allViewModels) {
|
||||
text: _.sprintf(gettext("Streamed %(local)s to %(remote)s on SD, took %(time).2f seconds"), payload),
|
||||
type: "success"
|
||||
});
|
||||
gcodeFilesViewModel.requestData(payload.remote, "sdcard");
|
||||
}
|
||||
|
||||
var legacyEventHandlers = {
|
||||
|
||||
@@ -676,6 +676,10 @@ $(function() {
|
||||
self.onEventMetadataStatisticsUpdated = function(payload) {
|
||||
self.requestData(undefined, undefined, self.currentPath());
|
||||
};
|
||||
|
||||
self.onEventTransferDone = function(payload) {
|
||||
self.requestData(payload.remote, "sdcard");
|
||||
};
|
||||
}
|
||||
|
||||
OCTOPRINT_VIEWMODELS.push([
|
||||
|
||||
Reference in new issue
Block a user