// New user assistance in the installer

This commit is contained in:
Damien Metzger
2012-12-12 20:34:13 +01:00
parent 1c5f8b968c
commit d8c4db1d1b
5 changed files with 18 additions and 3 deletions
+6
View File
@@ -156,11 +156,15 @@ function install_error(step, errors)
var display = '<ol>';
$.each(list_errors, function(k, v)
{
if (typeof psuser_assistance != 'undefined')
psuser_assistance.setStep('install_process_error', {'error':v});
display += '<li>'+v+'</li>';
});
display += '</ol>';
$('#process_step_'+step.key+' .error_log').html(display).show();
}
if (typeof psuser_assistance != 'undefined')
psuser_assistance.setStep('install_process_error');
}
function install_success()
@@ -171,4 +175,6 @@ function install_success()
$('#install_process_form').slideUp();
$('#install_process_success').slideDown();
$('.stepList li:last-child').addClass('ok');
if (typeof psuser_assistance != 'undefined')
psuser_assistance.setStep('install_process_success');
}