Skip to content

Commit d73381b

Browse files
committed
set group/ui config selection to _ADD_ to mean "none"
1 parent 71e346f commit d73381b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

nodes/widgets/ui_audio.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,12 @@
169169
}
170170
},
171171
oneditsave: function () {
172-
if ($('#node-input-mode').val() === 'tts') {
172+
this.mode = $('#node-input-mode').val() || 'src'
173+
if (this.mode === 'tts') {
173174
this.voice = document.getElementById('node-input-voice').value || ''
175+
$('#node-input-group').val('_ADD_')
176+
} else if (this.mode === 'src') {
177+
$('#node-input-ui').val('_ADD_')
174178
}
175179
}
176180
})

0 commit comments

Comments
 (0)