// correct drag and drop for position carriers

This commit is contained in:
vChabot
2011-10-31 11:01:01 +00:00
parent 65fe30c04e
commit 19f1eec6d6
3 changed files with 6 additions and 5 deletions
+3 -3
View File
@@ -445,8 +445,8 @@ class HelperListCore extends Helper
isset($this->context->cookie->{$this->table.'_pagination'}) ? $this->context->cookie->{$this->table.'_pagination'} : null
);
/*$is_dnd_identifier = array_key_exists($this->identifier,$this->identifiersDnd);
$this->is_dnd_identifier = array_key_exists($this->identifier,$this->identifiersDnd);
/*
if ($is_dnd_identifier)
{
' id="'.
@@ -465,7 +465,7 @@ class HelperListCore extends Helper
if (array_key_exists($this->identifier, $this->identifiersDnd) && (int)Tools::getValue($this->identifiersDnd[$this->identifier], 1))
$table_id = substr($this->identifier, 3, strlen($this->identifier));
if (array_key_exists($this->identifier, $this->identifiersDnd) && ($this->orderBy != 'position' && $this->orderWay != 'DESC'))
if (array_key_exists($this->identifier, $this->identifiersDnd) && ($this->orderBy == 'position' && $this->orderWay != 'DESC'))
$table_dnd = true;
foreach ($this->fieldsDisplay as $key => $params)