// product page js fix

This commit is contained in:
tDidierjean committed 2012-05-21 16:25:22 +00:00
1 parent 0629b69133
commit f480ea3c6f
1 file changed
+3 -1
+3 -1
View File
@@ -44,10 +44,12 @@ function populate_attrs()
var list = attrs[number]; var list = attrs[number];
attr_name.options.length = 0; attr_name.options.length = 0;
if (typeof list !== 'undefined')
{
for(i = 0; i < list.length; i += 2) for(i = 0; i < list.length; i += 2)
attr_name.options[i / 2] = new Option(list[i + 1], list[i]); attr_name.options[i / 2] = new Option(list[i + 1], list[i]);
} }
}
function check_impact() function check_impact()
{ {