[*] BO : Product attributes are now sortable.

This commit is contained in:
vChabot
2011-09-19 13:11:00 +00:00
parent f471cac117
commit 9ee3824029
15 changed files with 232 additions and 55 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ class AdminAttributeGenerator extends AdminTab
private static function displayAndReturnAttributeJs()
{
$attributes = Attribute::getAttributes($this->context->language->id, true);
$attributes = Attribute::getAttributes(Context::getContext()->language->id, true);
$attributeJs = array();
foreach ($attributes AS $k => $attribute)
$attributeJs[$attribute['id_attribute_group']][$attribute['id_attribute']] = $attribute['name'];