summaryrefslogtreecommitdiff
path: root/UI/lib
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-01 19:59:47 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-01 19:59:47 +0000
commit074d0d7379de945e0b663bb699c44567e32813a4 (patch)
tree328065868f953be85da008f4dd1b05c845ae01c2 /UI/lib
parentef3f1093aeca764039bbffcb9ce5f563ce95e6fa (diff)
* Adding subtotal and grand total to multiple payment workflow
* Correcting issues with CHECKED attributes in elements.html * Correcting update-safe issues with multiple payment workflow. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2230 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/lib')
-rw-r--r--UI/lib/elements.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/UI/lib/elements.html b/UI/lib/elements.html
index e22bd026..f42aaf5d 100644
--- a/UI/lib/elements.html
+++ b/UI/lib/elements.html
@@ -220,7 +220,7 @@
?>
<?lsmb FOREACH element_attribute IN all_keys # Loop through each allowed attribute. ?>
<?lsmb
- IF attribute_data.defined(element_attribute); # Add the attribute to the element if it's been set.
+ IF attribute_data.defined(element_attribute) and (attribute_data.${element_attribute} != ""); # Add the attribute to the element if it's been set.
all_attributes = all_attributes _ " " _ element_attribute _ '="' _ attribute_data.${element_attribute} _ '"';
ELSIF attribute_defaults.defined(element_attribute); # Fall back to default value if one is supplied.
all_attributes = all_attributes _ " " _ element_attribute _ '="' _ attribute_defaults.${element_attribute} _ '"';