X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=am.pl;h=d35b4a90004f1c866b11f75be680f330294ad63e;hb=75e721508b508648ffe2454f10cfe29ba8a359dd;hp=ac0a98a58fe6bf88f74751e83b7e44ce689d2f0e;hpb=b179b8df8426376f1592c7fdc3e693ed564c2fc3;p=kivitendo-erp.git diff --git a/am.pl b/am.pl index ac0a98a58..d35b4a900 100755 --- a/am.pl +++ b/am.pl @@ -47,7 +47,7 @@ $| = 1; use SL::LXDebug; $lxdebug = LXDebug->new(); -use CGI; +use CGI qw( -no_xhtml); use SL::Form; use SL::Locale; @@ -64,6 +64,11 @@ if (defined($latex) && !defined($latex_templates)) { $form = new Form; $cgi = new CGI(''); +# this prevents most of the tabindexes being created by CGI. +# note: most. popup menus and selecttables will still have tabindexes +# use common.pl's NTI function to get rid of those +local $CGI::TABINDEX = 0; + # name of this script $0 =~ tr/\\/\//; $pos = rindex $0, '/';