From 801047cb237bd124ec1a583e0fbba317008bdfed Mon Sep 17 00:00:00 2001 From: rvelices Date: Fri, 26 Apr 2013 19:58:06 +0000 Subject: group_list compatibility with jquery 1.9 git-svn-id: http://piwigo.org/svn/trunk@22368 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/group_list.tpl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'admin/themes') diff --git a/admin/themes/default/template/group_list.tpl b/admin/themes/default/template/group_list.tpl index c11b6369a..64a41236a 100644 --- a/admin/themes/default/template/group_list.tpl +++ b/admin/themes/default/template/group_list.tpl @@ -16,10 +16,10 @@ $(document).ready(function() { $("#permitAction").show(); $("#forbidAction").hide(); } - $("p[group_id="+$(this).attr("value")+"]").each(function () { + $("p[group_id="+$(this).prop("value")+"]").each(function () { $(this).toggle(); }); - + if (nbSelected<2) { $("#two_to_select").show(); $("#two_atleast").hide(); @@ -32,7 +32,7 @@ $(document).ready(function() { $("[id^=action_]").hide(); $("select[name=selectAction]").change(function () { $("[id^=action_]").hide(); - $("#action_"+$(this).attr("value")).show(); + $("#action_"+$(this).prop("value")).show(); if ($(this).val() != -1) { $("#applyActionBlock").show(); } @@ -59,13 +59,13 @@ $(document).ready(function() { - +
- + @@ -82,7 +82,7 @@ $(document).ready(function() { {/foreach} {/if}
- +
{'Action'|@translate}
{'No group selected, no action possible.'|@translate}
@@ -174,8 +174,8 @@ $(document).ready(function() { {/foreach} {/if} - - + + {if !empty($element_set_groupe_plugins_actions)} {foreach from=$element_set_groupe_plugins_actions item=action} @@ -184,7 +184,7 @@ $(document).ready(function() { {/foreach} {/if} - + -- cgit v1.2.3