When moving child objects, don't show the entry we're moving from
This commit is contained in:
committed by
Alexander Nicolaysen Sørnes
parent
5560eaaba3
commit
a7e909e4aa
@@ -1011,6 +1011,9 @@ class ObjectManager
|
|||||||
if($oCandidate->objectGetState() != 'accepted')
|
if($oCandidate->objectGetState() != 'accepted')
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if($oCandidate->objectGetId() == $this->iId)
|
||||||
|
continue;
|
||||||
|
|
||||||
echo html_tr(array($oCandidate->objectMakeLink(),
|
echo html_tr(array($oCandidate->objectMakeLink(),
|
||||||
"<a href=\"".$this->makeUrl("moveChildren", $this->iId). "&iNewId=".$oCandidate->objectGetId()."\">Move here</a>"),
|
"<a href=\"".$this->makeUrl("moveChildren", $this->iId). "&iNewId=".$oCandidate->objectGetId()."\">Move here</a>"),
|
||||||
($i % 2) ? "color0" : "color1");
|
($i % 2) ? "color0" : "color1");
|
||||||
|
|||||||
Reference in New Issue
Block a user