mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-03 21:33:15 -04:00
Fix bug preventing new Attribute from being anything but GROUP
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user