jQuery-Selektoren für checkall & DB-Verbindungstest gefixt
authorMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 18 Jun 2013 10:12:08 +0000 (12:12 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 18 Jun 2013 10:12:08 +0000 (12:12 +0200)
templates/webpages/admin/edit_client.html
templates/webpages/admin/edit_group.html

index 8dd3298..dc5ca45 100644 (file)
   function test_database_connectivity() {
     open_jqm_window({
       url:  'controller.pl?action=Admin/test_database_connectivity',
-      data: $(".contains_dbsettings]").serialize(),
+      data: $(".contains_dbsettings").serialize(),
       type: 'POST',
       id:   'test_db_connection_window'
     });
index 6313717..f9247f5 100644 (file)
@@ -33,7 +33,7 @@
   [% SET section_number = loop.count %]
   [% SET num_checked = 0 %]
   [% FOREACH right = section.rights %][% SET name = right.name %][% IF granted_rights.$name %][% SET num_checked = num_checked + 1 %][% END %][% END %]
-  <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>
+  <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>
 
   <div class="clearfix">
    [% FOREACH right = section.rights %]