From e2f3e23d06357330bab3367d1164d921b1426eea Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 18 Jun 2013 12:12:08 +0200 Subject: [PATCH] =?utf8?q?jQuery-Selektoren=20f=C3=BCr=20checkall=20&=20DB?= =?utf8?q?-Verbindungstest=20gefixt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- templates/webpages/admin/edit_client.html | 2 +- templates/webpages/admin/edit_group.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 %] -- 2.20.1