From 1989a8f4b9d665ff04630255dcca36868c8ceee7 Mon Sep 17 00:00:00 2001 From: 7u83 <7u83> Date: Thu, 16 Apr 2020 20:33:36 +0000 Subject: [PATCH] Shows number of uploaded documents per row --- kaform.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/kaform.js b/kaform.js index 38fea09..78b0258 100644 --- a/kaform.js +++ b/kaform.js @@ -136,15 +136,16 @@ function addTableRow(){ showAlert("Bitte gib einen gültigen Betrag ein!"); return; } + a_amount = parseFloat(a_amount).toFixed(2); var a_currency = document.getElementById("a_currency").value; - if (!a_currency.trim().length){ +/* if (!a_currency.trim().length){ document.getElementById("a_currency").focus(); showAlert("Bitte gib eine Währung an!"); return; } - +*/ var target = document.getElementById("upload-target"+currentRowId); var children = target.children; @@ -178,7 +179,7 @@ function addTableRow(){ // add column for num - e += `