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]); }