// Added errors to user assistance
This commit is contained in:
1 parent
148cb6c123
commit
319413ca25
1 file changed
+7
-1
@@ -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>
|
||||||
Reference in new issue
Block a user