// product page js fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15541 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
aa42936b46
commit
c26ea01d05
1 file changed
+5
-3
@@ -44,9 +44,11 @@ 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)
|
{
|
||||||
attr_name.options[i / 2] = new Option(list[i + 1], list[i]);
|
for(i = 0; i < list.length; i += 2)
|
||||||
|
attr_name.options[i / 2] = new Option(list[i + 1], list[i]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function check_impact()
|
function check_impact()
|
||||||
|
|||||||
Reference in new issue
Block a user