summaryrefslogtreecommitdiff
path: root/UI
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-09-10 23:04:03 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-09-10 23:04:03 +0000
commitaeb8fa97fcadab8e48b014f66650dac8ac4d32c4 (patch)
treedacbcceac0a409eb939ec541e747d0d0f4745c9a /UI
parente068472d5ff78dfaa8d02016435307d07f276a3a (diff)
Correcting issue saving multiple contact info
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2320 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI')
-rw-r--r--UI/Contact/contact.html8
-rw-r--r--UI/Contact/search.html2
2 files changed, 10 insertions, 0 deletions
diff --git a/UI/Contact/contact.html b/UI/Contact/contact.html
index ac00cb72..c061ac52 100644
--- a/UI/Contact/contact.html
+++ b/UI/Contact/contact.html
@@ -678,6 +678,14 @@ problems with multi-word single-quoted constructs in PI tags. -CT -->
text = text('Save Contact'),
class = "submit"
} #' ?>
+ <?lsmb IF contact.defined ?>
+ <?lsmb PROCESS button element_data = {
+ name = "action",
+ value = "save_contact_new",
+ text = text('Save As New'),
+ class = "submit"
+ } #' ?>
+ <?lsmb END # IF old_contact.defined ?>
</div>
</form>
diff --git a/UI/Contact/search.html b/UI/Contact/search.html
index e90d6564..f0cee902 100644
--- a/UI/Contact/search.html
+++ b/UI/Contact/search.html
@@ -1,5 +1,6 @@
<?lsmb INCLUDE 'ui-header.html' ?>
<?lsmb PROCESS elements.html ?>
+<?lsmb account_class = entity_class ?>
<body>
<?lsmb IF account_class == 1 -?>
<?lsmb entity_type = 'Vendor' -?>
@@ -19,6 +20,7 @@
} -?>
<table width="100%">
<tr><th class="listtop"><?lsmb title ?></th></tr>
+
<tr><td /></tr>
<tr valign="top">
<td>