Benjamin Renard commited on 2014-08-02 14:39:33
Showing 1 changed files, with 0 additions and 15 deletions.
... | ... |
@@ -526,21 +526,6 @@ function Group(uuid,name,data) { |
526 | 526 |
this.categories[uuid]=this.importCategory(data.categories[uuid]); |
527 | 527 |
} |
528 | 528 |
} |
529 |
- else { |
|
530 |
- categories= { |
|
531 |
- 'Alimentation': '#1f83db', |
|
532 |
- 'Restaurant': '#f07305', |
|
533 |
- 'Loisir': '#d413ce', |
|
534 |
- 'Transport': '#13d413', |
|
535 |
- 'Vacances': '#e9fa00', |
|
536 |
- 'Maison': '#e9fa00', |
|
537 |
- 'Rembourssement': '#8a8b8c', |
|
538 |
- 'Cadeau': '#a700fa' |
|
539 |
- }; |
|
540 |
- for (c in categories) { |
|
541 |
- this.categories[generate_uuid()]=new Category(c,categories[c]); |
|
542 |
- } |
|
543 |
- } |
|
544 | 529 |
if (jQuery.type(data.deletedCategories) == 'object') { |
545 | 530 |
for (uuid in data.deletedCategories) { |
546 | 531 |
this.deletedCategories[uuid]=data.deletedCategories[uuid]; |
547 | 532 |