summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-15 04:21:33 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-15 04:21:33 +0000
commit508724f52e0025161ed3ae8b9f47c145e7c5c885 (patch)
tree1c1e91dd6cb879cd450663c66f69243e342e32ef /bin
parentce331bd4b55cd92797c784fc08d3b6d7ec36e011 (diff)
Disabled editing sub-assemblies for the time being. Note that this only
disables editing them when directed from the assembly menu, not individually. We ought to look for a more graceful way of handling as we go forward. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@94 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mozilla/ic.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl
index f689954f..57072274 100755
--- a/bin/mozilla/ic.pl
+++ b/bin/mozilla/ic.pl
@@ -767,6 +767,7 @@ sub form_footer {
$button{'Delete'} = { ndx => 16, key => 'D', value => $locale->text('Delete') };
}
}
+ %button = () if $form->{isassemblyitem} && $form->{item} eq 'assembly';
for (sort { $button{$a}->{ndx} <=> $button{$b}->{ndx} } keys %button) { $form->print_button(\%button, $_) }