diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-16 04:49:45 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-16 04:49:45 +0000 |
commit | c24b6d1d47bf5d0bb2771067ba03955a5877201f (patch) | |
tree | 7136cb356a47ebf8beada25876ed168c687827ba /bin | |
parent | b57983d667763deb48b3c39855ca42b4581c820d (diff) |
Deal with VMethods causing problems with form.sort
Add wrapper for a simpler UI constructor
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1617 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ca.pl | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -238,13 +238,10 @@ sub list { value => 'Y', text => $locale->text('Subtotal'), }); - $form->{sort} ||= ''; #SC: blah. Find out why this breaks when undef - my $template = LedgerSMB::Template->new( - user => \%myconfig, + my $template = LedgerSMB::Template->new_UI( + user => \%myconfig, locale => $locale, - path => 'UI', - template => 'ca-list-selector', - format => 'HTML'); + template => 'ca-list-selector'); $template->render({ form => $form, includes => \@includes, |