v1.18.x
Julian Lam 11 years ago
parent 043a73b4ae
commit 1eb9016a77

@ -17,6 +17,11 @@ define('composer/categoryList', function() {
return app.alertError(err.message);
}
// Remove categories that are just external links
categories = categories.filter(function(category) {
return !category.link
});
categories.forEach(function(category) {
$('<option value="' + category.cid + '">' + category.name + '</option>').appendTo(listEl);
});

Loading…
Cancel
Save