forked from verdnatura/hedera-web
Solucionado error en Htk.Calendar, ahora se permite seleccionar domigo en configuración de pedido
This commit is contained in:
parent
e314b28451
commit
61661a26a0
|
@ -1,4 +1,4 @@
|
|||
hedera-web (1.381-deb8) stable; urgency=low
|
||||
hedera-web (1.382-deb8) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -196,8 +196,7 @@ Hedera.Checkout = new Class
|
|||
|
||||
,calendarRestrict: function (date)
|
||||
{
|
||||
return date.getTime () >= this.today.getTime ()
|
||||
&& date.getDay () != 0;
|
||||
return date.getTime () >= this.today.getTime ();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -174,7 +174,7 @@ module.exports = new Class
|
|||
if (this._restrictFunc)
|
||||
{
|
||||
cell.enabled = this._restrictFunc (cellDate);
|
||||
cellDate.setTime (cellDate.getTime () + 86400000);
|
||||
cellDate.setDate (cellDate.getDate () + 1);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue