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:
commit
f307d5590b
@ -1649,8 +1649,9 @@ if ($action == 'create') {
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$("#socid").change(function() {
|
$("#socid").change(function() {
|
||||||
var socid = $(this).val();
|
var socid = $(this).val();
|
||||||
|
var prjid = $("#projectid").val();
|
||||||
// reload page
|
// 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>';
|
</script>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user