|
@@ -245,8 +245,14 @@ function SCase(uuid,name,data) {
|
|
|
var things=0;
|
|
|
var things_done=0;
|
|
|
this.cats.each(function(cidx,cat) {
|
|
|
+ if (cat.removed) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
cats++;
|
|
|
for (idx in cat.things) {
|
|
|
+ if (cat.things[idx].removed) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
things++;
|
|
|
if (cat.things[idx].checked) {
|
|
|
things_done++;
|
|
@@ -472,6 +478,9 @@ function Cat(uuid,name,color,data) {
|
|
|
var count=0;
|
|
|
var done=0;
|
|
|
for (idx in this.things) {
|
|
|
+ if (this.things[idx].removed) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
if (this.things[idx].checked) {
|
|
|
done+=1;
|
|
|
}
|