// Added errors to user assistance

This commit is contained in:
Damien Metzger committed 2013-06-14 15:08:36 +02:00
1 parent 148cb6c123
commit 319413ca25
1 file changed
+7 -1
+7 -1
View File
@@ -30,7 +30,13 @@
</ul> </ul>
<script type="text/javascript"> <script type="text/javascript">
if (typeof psuser_assistance != 'undefined') 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> </script>
</body> </body>
</html> </html>