0
1
Fork 0

Errores solucionados

This commit is contained in:
Juan Ferrer Toribio 2016-05-06 14:09:15 +02:00
parent 8e42a5e262
commit 19731fd618
3 changed files with 7 additions and 17 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.340-deb8) stable; urgency=low
hedera-web (1.342-deb8) stable; urgency=low
* Initial Release.

View File

@ -26,10 +26,7 @@ Db.CalcSum = new Class
var value = this.getRowValue (row)
if (value !== null)
{
this.sum -= value;
this.numbersCount--;
}
this._sum -= value;
}
,after: function (row)
@ -37,23 +34,16 @@ Db.CalcSum = new Class
var value = this.getRowValue (row);
if (value !== null)
{
this.sum += value;
this.numbersCount++;
}
this._sum += value;
}
,init: function ()
{
this.sum = 0;
this.numbersCount = 0;
this._sum = 0;
}
,done: function ()
{
if (this.numbersCount > 0)
this.value = this.sum;
else
this.value = null;
this.value = this._sum;
}
});

View File

@ -50,9 +50,9 @@ Htk.Widget = new Class
return this.node;
}
,_createNode () {}
,_createNode: function () {}
,_refreshClass ()
,_refreshClass: function ()
{
if (this.node && this._cssClass)
this.node.className = this._cssClass +' '+ this.node.className;