Commit 1bdfb50d authored by Dietmar Maurer's avatar Dietmar Maurer

sort content type string

parent 3cd5b0bc
......@@ -558,7 +558,7 @@ Ext.define('PVE.Utils', { statics: {
format_content_types: function(value) {
var cta = [];
Ext.each(value.split(','), function(ct) {
Ext.each(value.split(',').sort(), function(ct) {
if (ct === 'images') {
cta.push('Images');
} else if (ct === 'backup') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment