From 80a6587020bc643dfba68ce45a60867ea3275199 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Sun, 12 Jan 2014 20:09:47 +0100 Subject: [PATCH] Add GroupList balances() method --- inc/myco_objects.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/inc/myco_objects.js b/inc/myco_objects.js index 74ed9bf..fa5a126 100644 --- a/inc/myco_objects.js +++ b/inc/myco_objects.js @@ -84,6 +84,13 @@ function GroupList() { } return false; } + + this.balances=function(fct) { + return this.each(function(idx,group) { + return group.balance(); + }); + } + } function Group(name,data) {