Browse Source

isMailable works correct now

master
Tobias Herre 3 years ago
parent
commit
a0bc4559ed
1 changed files with 1 additions and 15 deletions
  1. +1
    -15
      kaform.js

+ 1
- 15
kaform.js View File

@ -54,7 +54,7 @@ function isMailable(){
var row_no=1;
var table = document.getElementById("tabbody");
for (var i = 0, row; row = table.rows[i]; i++) {
var pdfs = row.cells[4].innerHTML;
pdfs = row.cells[5].querySelector('input[name="file-count"]').value;
if (pdfs==0)
return false;
}
@ -76,20 +76,6 @@ function isFloat(val) {
/**
* grey-out currency iselection if there is at least one document is atatched.
*/
function disableCurrency()
{
if (countRows()>0){
document.getElementById("a_currency").disabled=true;
}
else {
document.getElementById("a_currency").disabled=false;
}
}
function deleteTableRow(rowId){
var target = document.getElementById("upload-target"+rowId);

Loading…
Cancel
Save