General code review

This commit is contained in:
Bernd Bestel
2022-04-03 19:14:54 +02:00
parent 3091a06194
commit 5c6f84a68e
4 changed files with 32 additions and 30 deletions

View File

@@ -88,7 +88,7 @@
Grocy.Api.UploadFile($("#instruction-manual")[0].files[0], 'equipmentmanuals', jsonData.instruction_manual_file_name,
function(result)
{
window.location.href = U('/equipment');;
window.location.href = U('/equipment');
},
function(xhr)
{
@@ -99,7 +99,7 @@
}
else
{
window.location.href = U('/equipment');;
window.location.href = U('/equipment');
}
});
},