// Added errors to user assistance

This commit is contained in:
Damien Metzger
2013-06-14 15:08:36 +02:00
parent 148cb6c123
commit 319413ca25
+7 -1
View File
@@ -30,7 +30,13 @@
</ul>
<script type="text/javascript">
if (typeof psuser_assistance != 'undefined')
psuser_assistance.setStep('install_<?php echo addslashes($this->step) ?>');
{
var errors = new Array();
$.each($('li.fail'), function(i, item){
errors.push($(this).text().trim());
});
psuser_assistance.setStep('install_<?php echo addslashes($this->step) ?>', {'error':errors});
}
</script>
</body>
</html>