Optimized product edit page default button handling (closes #1276)

This commit is contained in:
Bernd Bestel
2021-07-12 18:15:57 +02:00
parent 70433aace5
commit cdf6ac78e2
2 changed files with 7 additions and 2 deletions

View File

@@ -478,7 +478,7 @@
class="my-2 form-text text-muted @if($mode == 'edit') d-none @endif">{{ $__t('Save & continue to add quantity unit conversions & barcodes') }}</small>
<button id="save-product-button"
class="save-product-button btn btn-success mb-2"
class="save-product-button btn btn-success mb-2 default-submit-button"
data-location="continue">{{ $__t('Save & continue') }}</button>
<button class="save-product-button btn btn-info mb-2"
data-location="return">{{ $__t('Save & return to products') }}</button>