Add GroupList balances() method
Benjamin Renard

Benjamin Renard commited on 2014-01-12 19:09:47
Showing 1 changed files, with 7 additions and 0 deletions.

... ...
@@ -84,6 +84,13 @@ function GroupList() {
84 84
     }
85 85
     return false;
86 86
   }
87
+
88
+  this.balances=function(fct) {
89
+    return this.each(function(idx,group) {
90
+      return group.balance();
91
+    });
92
+  }
93
+
87 94
 }
88 95
 
89 96
 function Group(name,data) {
90 97