mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
#849: fix for the special case of loading class tags into a hierarchy
SVN:trunk[3003]
This commit is contained in:
@@ -265,7 +265,7 @@ class ModelFactory
|
||||
//echo "Load $oSourceNode->tagName::".$oSourceNode->getAttribute('id')." (".$oSourceNode->getAttribute('_delta').")<br/>\n";
|
||||
$oTarget = $this->oDOMDocument;
|
||||
|
||||
if (($oSourceNode->tagName == 'class') && ($oSourceNode->parentNode->tagName == 'classes'))
|
||||
if (($oSourceNode->tagName == 'class') && ($oSourceNode->parentNode->tagName == 'classes') && ($oSourceNode->parentNode->parentNode->tagName == 'itop_design'))
|
||||
{
|
||||
if ($oSourceNode->getAttribute('_delta') == 'define')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user