diff --git a/src/ui/midi/midi-port-selector/js/midi-port-selector.js b/src/ui/midi/midi-port-selector/js/midi-port-selector.js index df94aeaa..9f284ad7 100644 --- a/src/ui/midi/midi-port-selector/js/midi-port-selector.js +++ b/src/ui/midi/midi-port-selector/js/midi-port-selector.js @@ -123,8 +123,8 @@ var fluid = fluid || require("infusion"), }, markup: { - label: "", - selectBox: "", + label: "", + selectBox: "", refreshButton: "" }, @@ -135,7 +135,7 @@ var fluid = fluid || require("infusion"), }, strings: { - selectBoxLabel: "MIDI Port", + selectBoxLabel: "MIDI Port:", refreshButtonLabel: "Refresh" }, diff --git a/src/ui/selectbox/js/selectbox.js b/src/ui/selectbox/js/selectbox.js index e223312f..692a1476 100644 --- a/src/ui/selectbox/js/selectbox.js +++ b/src/ui/selectbox/js/selectbox.js @@ -85,8 +85,17 @@ var fluid = fluid || require("infusion"), }, modelListeners: { - groups: "{that}.refreshView()", - options: "{that}.refreshView()" + groups: { + namespace: "refreshView", + excludeSource: "init", + func: "{that}.refreshView" + }, + + options: { + namespace: "refreshView", + excludeSource: "init", + func: "{that}.refreshView" + } }, listeners: {