UI test/review

This commit is contained in:
Bernd Bestel
2020-11-08 19:51:56 +01:00
parent 3e3321bf11
commit ea5b3dcd51
6 changed files with 85 additions and 56 deletions

View File

@@ -137,3 +137,12 @@ ResizeResponsiveEmbeds();
Grocy.Components.UserfieldsForm.Load();
$('#name').focus();
Grocy.FrontendHelpers.ValidateForm('equipment-form');
$("#instruction-manual").on("change", function(e)
{
$("#instruction-manual-label").removeClass("d-none");
$("#instruction-manual-label-none").addClass("d-none");
$("#delete-current-instruction-manual-on-save-hint").addClass("d-none");
$("#current-instruction-manuale").addClass("d-none");
Grocy.DeleteProductPictureOnSave = false;
});