// [-] IN : Fixed language detection and help in the installer

This commit is contained in:
Damien Metzger
2013-08-05 11:23:09 +02:00
parent 7f4e4efbd8
commit 581dcec718
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -36,7 +36,8 @@
errors.push($(this).text().trim());
});
psuser_assistance.setStep('install_<?php echo addslashes($this->step) ?>', {'error':errors});
$('#iframe_help').attr('src', $('#iframe_help').attr('src') + '&errors=' + encodeURI(errors.join(', ')));
if (errors.length)
$('#iframe_help').attr('src', $('#iframe_help').attr('src') + '&errors=' + encodeURI(errors.join(', ')));
}
</script>
</body>