Make DROPDOWN values sorted by alphabet.

This commit is contained in:
objecttothis committed 2020-05-01 17:51:13 +04:00
1 parent 42f8d71404
commit 06eebc2ad3
1 file changed
+1 -1
+1 -1
View File
@@ -175,7 +175,7 @@ $(document).ready(function()
}
});
var definition_values = <?php echo json_encode($definition_values) ?>;
var definition_values = <?php echo json_encode(array_values($definition_values)) ?>;
$.each(definition_values, function(index, element) {
add_attribute_value(element);
});