From 138008672317c66d011563011ba9fc22bf2a32f4 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 16 Jan 2014 20:22:53 +0100 Subject: [PATCH] Fixed link to group in Home view --- inc/myco.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/myco.js b/inc/myco.js index 43ddd1b..b8eca66 100644 --- a/inc/myco.js +++ b/inc/myco.js @@ -102,11 +102,11 @@ view_home=function() { sum+=value; diff='+'+value.toFixed(2)+' €'; } - tbody.html(tbody.html()+''+balances[g].name+''+diff+''); + tbody.html(tbody.html()+''+balances[g].name+''+diff+''); } } $('#view-home #mybalances a.group-link').bind('click',function(e) { - g=$(e.target).html(); + g=$(e.target).data('uuid'); if (jQuery.type(groups[g])!='undefined') { view_group(groups[g]); }