Errores solucionados
This commit is contained in:
parent
8e42a5e262
commit
19731fd618
|
@ -1,4 +1,4 @@
|
|||
hedera-web (1.340-deb8) stable; urgency=low
|
||||
hedera-web (1.342-deb8) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue