diff --git a/views/bootstrap/class.FolderAttributeGroup.php b/views/bootstrap/class.FolderAttributeGroup.php index adece16fd..cb9487f46 100644 --- a/views/bootstrap/class.FolderAttributeGroup.php +++ b/views/bootstrap/class.FolderAttributeGroup.php @@ -70,7 +70,8 @@ $(document).ready(function() { $allGroups = $this->params['allattrgrps']; $strictformcheck = $this->params['strictformcheck']; - $attrgrpList = $folder->getAttributeDefintionGroupList(); + $ifolder = null; // will be set to folder the current folder inherits a attr def group + $attrgrpList = $folder->getAttributeDefintionGroupList(true, $ifolder); $this->htmlStartPage(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName())))); $this->globalNavigation($folder); @@ -88,23 +89,33 @@ $(document).ready(function() { } else { - foreach ($attrgrpList as $attrgrp) { - print "