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
This commit is contained in:
parent
9e33bba0a0
commit
61b6e999c4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue