Remove default categories
This commit is contained in:
parent
ddaa11ec4f
commit
384ead0025
1 changed files with 0 additions and 15 deletions
|
@ -526,21 +526,6 @@ function Group(uuid,name,data) {
|
|||
this.categories[uuid]=this.importCategory(data.categories[uuid]);
|
||||
}
|
||||
}
|
||||
else {
|
||||
categories= {
|
||||
'Alimentation': '#1f83db',
|
||||
'Restaurant': '#f07305',
|
||||
'Loisir': '#d413ce',
|
||||
'Transport': '#13d413',
|
||||
'Vacances': '#e9fa00',
|
||||
'Maison': '#e9fa00',
|
||||
'Rembourssement': '#8a8b8c',
|
||||
'Cadeau': '#a700fa'
|
||||
};
|
||||
for (c in categories) {
|
||||
this.categories[generate_uuid()]=new Category(c,categories[c]);
|
||||
}
|
||||
}
|
||||
if (jQuery.type(data.deletedCategories) == 'object') {
|
||||
for (uuid in data.deletedCategories) {
|
||||
this.deletedCategories[uuid]=data.deletedCategories[uuid];
|
||||
|
|
Loading…
Reference in a new issue