mirror of
https://github.com/grocy/grocy.git
synced 2026-03-29 17:19:25 +02:00
Fixed again a problem with productpicker workflows and disabled URL rewriting (closes #232)
This commit is contained in:
parent
4c2cf4944d
commit
78a230c5d5
|
|
@ -6,7 +6,7 @@
|
|||
var returnTo = GetUriParam('returnto');
|
||||
if (returnTo !== undefined)
|
||||
{
|
||||
redirectDestination = returnTo + '?createdproduct=' + encodeURIComponent($('#name').val());
|
||||
redirectDestination = U(returnTo) + '?createdproduct=' + encodeURIComponent($('#name').val());
|
||||
}
|
||||
|
||||
var jsonData = $('#product-form').serializeJSON({ checkboxUncheckedValue: "0" });
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user