Ansprechpersonen: DOM-Id für Löschen-Knopf setzen
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 8 May 2020 14:43:50 +0000 (16:43 +0200)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 8 May 2020 15:38:10 +0000 (17:38 +0200)
Damit wird der Löschen-Knopf wieder ausgeblendet.

templates/webpages/customer_vendor/tabs/contacts.html

index edf5fa2..c18bd98 100644 (file)
 
   </table>
 
-  [% L.button_tag('submitInputButton("delete_contact");', LxERP.t8('Delete Contact'), class = 'submit') %]
+  [% L.button_tag('submitInputButton("delete_contact");', LxERP.t8('Delete Contact'), id = 'action_delete_contact', class = 'submit') %]
   [% IF ( !SELF.contact.cp_id ) %]
     <script type="text/javascript">
       $('#action_delete_contact').hide();