Commit ed0d5b9c44fcde9f576f6a597898919c2a226ef9

Authored by Michael Joseph
1 parent a505418a

added comment


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2328 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/administration/docfieldmanagement/editDocFieldUI.inc
... ... @@ -20,7 +20,6 @@ function getEditPage($iDocFieldID) {
20 20 $checkBox = $oDocField->isFieldLinkedToType();
21 21 $aDataTypes = $oDocField->getAllDataTypes();
22 22 $currentDataType = $oDocField->getDataType();
23   -
24 23 }
25 24  
26 25 $sToRender .= renderHeading("Edit Document Field");
... ... @@ -41,6 +40,7 @@ function getEditPage($iDocFieldID) {
41 40 $sToRender .= "</tr>\n";
42 41 $sToRender .= "<tr>\n";
43 42  
  43 + // allow changing the generic status if the field is not linked to a document type
44 44 if($checkBox == false) {
45 45 $sToRender .= "<td>Is Generic: </td><td>" . getIsGenericCheckBox($oDocField) . "</td>\n";
46 46 } else {
... ...