From: Moritz Bunkus Date: Tue, 18 Jun 2013 10:12:08 +0000 (+0200) Subject: jQuery-Selektoren für checkall & DB-Verbindungstest gefixt X-Git-Tag: release-3.1.0beta1~309^2~5 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e2f3e23d06357330bab3367d1164d921b1426eea;p=kivitendo-erp.git jQuery-Selektoren für checkall & DB-Verbindungstest gefixt --- diff --git a/templates/webpages/admin/edit_client.html b/templates/webpages/admin/edit_client.html index 8dd32986f..dc5ca4585 100644 --- a/templates/webpages/admin/edit_client.html +++ b/templates/webpages/admin/edit_client.html @@ -127,7 +127,7 @@ 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' }); diff --git a/templates/webpages/admin/edit_group.html b/templates/webpages/admin/edit_group.html index 6313717f6..f9247f52e 100644 --- a/templates/webpages/admin/edit_group.html +++ b/templates/webpages/admin/edit_group.html @@ -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 %] -

[% L.checkbox_tag('dummy' _ section_number, label=LxERP.t8('Section "#1"', section.description), checkall='[.checkallgroup' _ section_number _ ']', checked=(num_checked == section.rights.size)) %]

+

[% L.checkbox_tag('dummy' _ section_number, label=LxERP.t8('Section "#1"', section.description), checkall='.checkallgroup' _ section_number, checked=(num_checked == section.rights.size)) %]

[% FOREACH right = section.rights %]