diff --git a/application/views/attributes/form.php b/application/views/attributes/form.php index d55ec9fc5..38842cf36 100644 --- a/application/views/attributes/form.php +++ b/application/views/attributes/form.php @@ -73,7 +73,7 @@ $(document).ready(function() { var definition_type = $("#definition_type option:selected").text(); - if(definition_type == "DATETIME" || definition_type == "GROUP") + if(definition_type == "DATETIME" || (definition_type == "GROUP" && !is_new)) { $('#definition_type').prop("disabled",true); }