Merge pull request #19686 from Je2fb/patch-2

Fix bug project reset on supplier order when you select a supplier
This commit is contained in:
Laurent Destailleur 2021-12-30 17:08:13 +01:00 committed by GitHub
commit f307d5590b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1649,8 +1649,9 @@ if ($action == 'create') {
$(document).ready(function() {
$("#socid").change(function() {
var socid = $(this).val();
var prjid = $("#projectid").val();
// reload page
window.location.href = "'.$_SERVER["PHP_SELF"].'?action=create&socid="+socid;
window.location.href = "'.$_SERVER["PHP_SELF"].'?action=create&socid="+socid+"&projectid="+prjid
});
});
</script>';