mirror of
https://github.com/grocy/grocy.git
synced 2026-04-09 05:56:15 +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');
|
var returnTo = GetUriParam('returnto');
|
||||||
if (returnTo !== undefined)
|
if (returnTo !== undefined)
|
||||||
{
|
{
|
||||||
redirectDestination = returnTo + '?createdproduct=' + encodeURIComponent($('#name').val());
|
redirectDestination = U(returnTo) + '?createdproduct=' + encodeURIComponent($('#name').val());
|
||||||
}
|
}
|
||||||
|
|
||||||
var jsonData = $('#product-form').serializeJSON({ checkboxUncheckedValue: "0" });
|
var jsonData = $('#product-form').serializeJSON({ checkboxUncheckedValue: "0" });
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user