]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Controller/PriceRule.pm
ActionBar: Standard-Aktions-Button optisch hervorheben
[mfinanz.git] / SL / Controller / PriceRule.pm
index 2ced8edd7fae13fae92ec3bf74d8790bdc381410..2723d47af27b5210ebe3639ba251cbe2ef4359a8 100644 (file)
@@ -38,7 +38,7 @@ sub action_list {
 
   $self->prepare_report;
 
 
   $self->prepare_report;
 
-  $self->report_generator_list_objects(report => $self->{report}, objects => $price_rules, $::form->{inline} ? (layout => 0, header => 0) : (action_bar => 1));
+  $self->report_generator_list_objects(report => $self->{report}, objects => $price_rules, $::form->{inline} ? (layout => 0, header => 0) : ());
 }
 
 sub action_new {
 }
 
 sub action_new {
@@ -311,14 +311,10 @@ sub setup_search_action_bar {
   for my $bar ($::request->layout->get('actionbar')) {
     $bar->add(
       action => [
   for my $bar ($::request->layout->get('actionbar')) {
     $bar->add(
       action => [
-        t8('Search'),
+        t8('Update'),
         submit    => [ '#search_form', { action => 'PriceRule/list' } ],
         accesskey => 'enter',
       ],
         submit    => [ '#search_form', { action => 'PriceRule/list' } ],
         accesskey => 'enter',
       ],
-      action => [
-        t8('Reset'),
-        call => [ 'kivi.PriceRule.reset_search_form' ],
-      ],
 
       combobox => [
         action => [
 
       combobox => [
         action => [