Feature 1442 : fix problem with type selector : :text instead of @type='text'

git-svn-id: http://piwigo.org/svn/trunk@4919 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou
2010-02-20 20:22:06 +00:00
parent 6acc3ff790
commit a8c86a3d91
+1 -1
View File
@@ -11,7 +11,7 @@ var rows = table.tBodies[0].rows;
for (var i=0; i<rows.length; i++) {
$(rows[i])
.attr('class', 'row'+i%2)
.find("input[@type='text']").attr('value', (i+1)*10);
.find("input:text").attr('value', (i+1)*10);
}
}
});