From 508724f52e0025161ed3ae8b9f47c145e7c5c885 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Fri, 15 Sep 2006 04:21:33 +0000 Subject: 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 --- bin/mozilla/ic.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') 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, $_) } -- cgit v1.2.3