[WIP] Add some features, categories, articles

This commit is contained in:
Ludovic CANDELLIER
2020-04-27 00:37:20 +02:00
parent 516ec2232e
commit 07eccc337b
43 changed files with 1045 additions and 77 deletions

View File

@@ -6,7 +6,7 @@ function setOptions(selector,data,selected,all) {
$el.append($("<option></option>").attr("value",'').text('Tous'));
}
$.each(data, function(key, name) {
// console.log(name);
console.log(name);
if (key != null) {
if (key == selected) {
$el.append($("<option selected='selected'></option>").attr("value", key).text(name));