Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8abd9ce3

Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt

  • ID 8abd9ce32e946691e0953f9a8e2c183183d7854e
  • Vorgänger f5851080
  • Nachfolger 0c404f20

$::request->layout->focus() größtenteils durch class="initial_focus" ersetzen

Unterschiede anzeigen:

bin/mozilla/ct.pl
103 103

  
104 104
  $form->{jsscript} = 1;
105 105
  $form->{title}    = $form->{IS_CUSTOMER} ? $locale->text('Customers') : $locale->text('Vendors');
106
  $::request->{layout}->focus('#name');
107 106

  
108 107
  $form->header();
109 108
  print $form->parse_html_template('ct/search');
......
174 173
  my @columns = (
175 174
    'id',        'name',      "$form->{db}number",   'contact',   'phone',
176 175
    'fax',       'email',     'taxnumber',           'street',    'zipcode' , 'city',
177
    'business',  'invnumber', 'ordnumber',           'quonumber', 'salesman', 'country' 
176
    'business',  'invnumber', 'ordnumber',           'quonumber', 'salesman', 'country'
178 177
  );
179 178

  
180 179
  my @includeable_custom_variables = grep { $_->{includeable} } @{ $cvar_configs };
......
477 476
  $form->{taxzone_id}     = 0                                                               if !$form->{id};
478 477
  $form->{jsscript}       = 1;
479 478
  $form->{SHIPTO_ALL}     = [ +{ shipto_id => '0', shiptoname => $::locale->text('All') }, @{ $form->{SHIPTO} } ];
480
  $::request->{layout}->focus("#greeting");
481 479

  
482 480
  $form->{title} = $form->{title_save}
483 481
                || $locale->text("$form->{title} " . ucfirst $form->{db}) . ($form->{title} eq "Edit" ? " $form->{name}" : '');

Auch abrufbar als: Unified diff