Skip to content

Commit

Permalink
Merge branch 'master' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
jn-jairo committed Jul 19, 2024
2 parents 1bc9be0 + 011b11d commit 9b64c49
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions web/extensions/core/uploadAudio.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,15 @@ app.registerExtension({
}
audioWidget.callback = onAudioWidgetUpdate

// Load saved audio file widget values if restoring from workflow
const onGraphConfigured = node.onGraphConfigured;
node.onGraphConfigured = function() {
onGraphConfigured?.apply(this, arguments)
if (audioWidget.value) {
onAudioWidgetUpdate()
}
}

const fileInput = document.createElement("input")
fileInput.type = "file"
fileInput.accept = "audio/*"
Expand Down

0 comments on commit 9b64c49

Please sign in to comment.