mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 18:01:31 +02:00
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:
@@ -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)});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user