mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-19 23:07:57 -05:00
Make DROPDOWN values sorted by alphabet.
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user