From 61b6e999c4f43f11c12ec6df3341a8391fff9ea9 Mon Sep 17 00:00:00 2001 From: nikrou Date: Wed, 17 Mar 2010 20:32:40 +0000 Subject: Bug fix due to upgrade to jquery 1.4 (attribute selector changes) git-svn-id: http://piwigo.org/svn/trunk@5169 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/element_set_ranks.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/themes/default') diff --git a/admin/themes/default/template/element_set_ranks.tpl b/admin/themes/default/template/element_set_ranks.tpl index 6fed3fb19..08921fb48 100644 --- a/admin/themes/default/template/element_set_ranks.tpl +++ b/admin/themes/default/template/element_set_ranks.tpl @@ -12,7 +12,7 @@ handle: $('.rank-of-image').add('.rank-of-image img'), update: function() { $(this).find('li').each(function(i) { - $(this).find("input[@name~='rank_of_image']") + $(this).find("input[name^=rank_of_image]") .each(function() { $(this).attr('value', (i+1)*10)}); }); } -- cgit v1.2.3