Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e2f3e23d

Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt

  • ID e2f3e23d06357330bab3367d1164d921b1426eea
  • Vorgänger 2ae9dfb6
  • Nachfolger 1c25456e

jQuery-Selektoren für checkall & DB-Verbindungstest gefixt

Unterschiede anzeigen:

templates/webpages/admin/edit_client.html
127 127
  function test_database_connectivity() {
128 128
    open_jqm_window({
129 129
      url:  'controller.pl?action=Admin/test_database_connectivity',
130
      data: $(".contains_dbsettings]").serialize(),
130
      data: $(".contains_dbsettings").serialize(),
131 131
      type: 'POST',
132 132
      id:   'test_db_connection_window'
133 133
    });
templates/webpages/admin/edit_group.html
33 33
  [% SET section_number = loop.count %]
34 34
  [% SET num_checked = 0 %]
35 35
  [% FOREACH right = section.rights %][% SET name = right.name %][% IF granted_rights.$name %][% SET num_checked = num_checked + 1 %][% END %][% END %]
36
  <h3>[% L.checkbox_tag('dummy' _ section_number, label=LxERP.t8('Section "#1"', section.description), checkall='[.checkallgroup' _ section_number _ ']', checked=(num_checked == section.rights.size)) %]</h3>
36
  <h3>[% L.checkbox_tag('dummy' _ section_number, label=LxERP.t8('Section "#1"', section.description), checkall='.checkallgroup' _ section_number, checked=(num_checked == section.rights.size)) %]</h3>
37 37

  
38 38
  <div class="clearfix">
39 39
   [% FOREACH right = section.rights %]

Auch abrufbar als: Unified diff