* fixed the message that occurs when gear goes in/out of USB during FTUE

This commit is contained in:
Seth Call 2015-05-06 22:44:16 -05:00
parent b523850296
commit 76a4a13c41
3 changed files with 12 additions and 9 deletions

View File

@ -165,7 +165,7 @@
if(!gearUtils.canBeConfigured(audioProfileId)) {
context.JK.Banner.showAlert("The System Default (Playback Only) profile can not currently be configured.");
context.JK.Banner.showAlert("The System Default (Playback Only) profile can not be configured.");
return;
}

View File

@ -29,6 +29,9 @@ context.JK.JamTrackScreen=class JamTrackScreen
@app.user().done((user) =>
@user = user
this.refresh()
).fail((arg) =>
@logger.error("app.user.done failed: " + JSON.stringify(arg))
throw 'fail should not occur if user is available'
)
else
this.refresh()

View File

@ -157,24 +157,24 @@ script type="text/template" id="template-help-musician-score-self"
script type="text/template" id="template-help-gear-wizard-inputs-changed"
.help-inputs-changed
| {% if(data.missingInputDevice) { %}
p
| {{ data.missingInputDevice }} is no longer connected or malfunctioning.
p
| {{ data.missingInputDevice }} is no longer connected or malfunctioning.
| {% } %}
| {% if(data.newInputDevice) { %}
p
| {{ data.newInputDevice }} is now available.
p
| {{ data.newInputDevice }} is now available.
| {% } %}
script type="text/template" id="template-help-gear-wizard-outputs-changed"
.help-outputs-changed
| {% if(data.missingOutputDevice) { %}
p
| {{ data.missingOutputDevice }} is no longer connected or malfunctioning.
p
| {{ data.missingOutputDevice }} is no longer connected or malfunctioning.
| {% } %}
| {% if(data.newOutputDevice) { %}
p
| {{ data.newOutputDevice }} is now available.
p
| {{ data.newOutputDevice }} is now available.
| {% } %}