|
|
@ -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); |
|
|
|