diff --git a/presentation/lookAndFeel/knowledgeTree/administration/docfieldmanagement/editDocFieldUI.inc b/presentation/lookAndFeel/knowledgeTree/administration/docfieldmanagement/editDocFieldUI.inc index 545873a..b81f060 100644 --- a/presentation/lookAndFeel/knowledgeTree/administration/docfieldmanagement/editDocFieldUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/administration/docfieldmanagement/editDocFieldUI.inc @@ -38,7 +38,8 @@ function getEditPage($iDocFieldID) { $sToRender .= "\n"; // allow changing the generic status if the field is not linked to a document type - if($checkBox == false) { + // and if this isn't the category field + if ( ($checkBox == false) || $oDocField->getName() != "Category") { $sToRender .= "Is Generic: " . getIsGenericCheckBox($oDocField) . "\n"; } else { $sToRender .= "getIsGeneric() . "\">\n"; @@ -121,7 +122,8 @@ function getDocFieldDisplay($oDocField) { return $oPatternListBox->render(); } else { return "iId . "\">\n" . - "getName() . "\">"; + "getName() . "\"" . + ($oDocField->getName() == "Category" ? "disabled=\"disabled\"" : "") . ">"; } }