aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-03-17 20:32:40 +0000
committernikrou <nikrou@piwigo.org>2010-03-17 20:32:40 +0000
commit61b6e999c4f43f11c12ec6df3341a8391fff9ea9 (patch)
tree0ab29093de8dcfceb2963596d351a6cb7ff0ea41 /admin/themes/default
parent9e33bba0a05bd3f593f8e11bac3f419a6a744263 (diff)
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
Diffstat (limited to 'admin/themes/default')
-rw-r--r--admin/themes/default/template/element_set_ranks.tpl2
1 files changed, 1 insertions, 1 deletions
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)});
});
}