Merge branch 'fix/wrongJsReference' into devel
Conflicts: src/octoprint/static/js/app/dataupdater.js
This commit is contained in:
commit
8eab664a34
2 changed files with 4 additions and 1 deletions
|
|
@ -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([
|
||||
|
|
|
|||
Loading…
Reference in a new issue