issue 160 when 1st menu move, then not moved.

this bug fixed


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9273 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-09-22 08:25:57 +00:00
parent 105e3f4843
commit 18a01f4e35

View file

@ -334,9 +334,12 @@
if(is_array($result))
{
$i = 0;
foreach($result AS $key=>$node)
{
$this->_recursiveMoveMenuItem($node);
$this->moveMenuItem($this->menuSrl, 0, $i, $node->node, 'move'); //move parent node
$this->_recursiveMoveMenuItem($node); //move child node
$i = $node->node;
}
}