Optimized returnto-links handling (fixes #1785)

This commit is contained in:
Bernd Bestel
2022-02-13 20:07:29 +01:00
parent d38a5efb3d
commit 2457c2c2fd
3 changed files with 6 additions and 6 deletions

View File

@@ -195,9 +195,9 @@
href="{{ $U('/stockjournal/summary?embedded&product=') }}{{ $stockEntry->product_id }}">
{{ $__t('Stock journal summary') }}
</a>
<a class="dropdown-item"
<a class="dropdown-item link-return"
type="button"
href="{{ $U('/product/') }}{{ $stockEntry->product_id . '?returnto=/stockentries' }}">
data-href="{{ $U('/product/') }}{{ $stockEntry->product_id }}">
{{ $__t('Edit product') }}
</a>
<div class="dropdown-divider"></div>