S:C:Letter: Vergessene Presenter-Umstellung für ein select_tag
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 1 Nov 2019 21:25:01 +0000 (22:25 +0100)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 1 Nov 2019 21:25:01 +0000 (22:25 +0100)
SL/Controller/Letter.pm

index beb1a46..2c93480 100644 (file)
@@ -106,7 +106,7 @@ sub action_update_contacts {
     return $self->js
       ->replaceWith(
         '#letter_cp_id',
-        SL::Presenter->get->select_tag('letter.cp_id', [], value_key => 'cp_id', title_key => 'full_name')
+        select_tag('letter.cp_id', [], value_key => 'cp_id', title_key => 'full_name')
       )
       ->render;
   }