* VRFS-2440 - open FTUE immediately after dialog
This commit is contained in:
parent
5f8953011c
commit
daecbd8a2d
|
|
@ -219,8 +219,7 @@
|
|||
};
|
||||
app.cancelFtue = function() { showingGearWizard = false; populateAccountAudio() };
|
||||
showingGearWizard = true;
|
||||
app.layout.startNewFtue();
|
||||
|
||||
app.layout.startNewFtue()
|
||||
}
|
||||
|
||||
function reloadAudio() {
|
||||
|
|
|
|||
|
|
@ -10,13 +10,34 @@
|
|||
var $dontShowAgain = null;
|
||||
var $setupGearBtn = null;
|
||||
|
||||
function handleStartAudioQualification() {
|
||||
|
||||
app.afterFtue = function() {
|
||||
app.layout.showDialog('join-test-session');
|
||||
};
|
||||
app.cancelFtue = function() { };
|
||||
app.layout.startNewFtue()
|
||||
}
|
||||
|
||||
function registerEvents() {
|
||||
|
||||
$setupGearBtn.click(function() {
|
||||
if (gon.isNativeClient) {
|
||||
|
||||
app.layout.closeDialog('getting-started');
|
||||
window.location = '/client#/account/audio'
|
||||
|
||||
// if no profiles, show FTUE in-line, if any, redirect to audio profile line
|
||||
var profiles = context.jamClient.FTUEGetAllAudioConfigurations();
|
||||
|
||||
if(profiles && profile.length > 0) {
|
||||
window.location = '/client#/account/audio'
|
||||
}
|
||||
else
|
||||
{
|
||||
handleStartAudioQualification();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else {
|
||||
context.JK.guardAgainstBrowser(app, {d1: 'gear'});
|
||||
|
|
|
|||
Loading…
Reference in New Issue