From 384ead0025d406c172d15f959ad196015e867bc4 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Sat, 2 Aug 2014 16:39:33 +0200 Subject: [PATCH] Remove default categories --- inc/myco_objects.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/inc/myco_objects.js b/inc/myco_objects.js index 4b6fcf3..f23d72b 100644 --- a/inc/myco_objects.js +++ b/inc/myco_objects.js @@ -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];