From 61661a26a0b37383498fece4781ac5c214160387 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Fri, 28 Oct 2016 09:43:51 +0200 Subject: [PATCH] =?UTF-8?q?Solucionado=20error=20en=20Htk.Calendar,=20ahor?= =?UTF-8?q?a=20se=20permite=20seleccionar=20domigo=20en=20configuraci?= =?UTF-8?q?=C3=B3n=20de=20pedido?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/changelog | 2 +- forms/ecomerce/checkout/checkout.js | 3 +-- js/htk/field/calendar.js | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 421f8d85..9303f7b3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.381-deb8) stable; urgency=low +hedera-web (1.382-deb8) stable; urgency=low * Initial Release. diff --git a/forms/ecomerce/checkout/checkout.js b/forms/ecomerce/checkout/checkout.js index 89b025e4..38df9c65 100644 --- a/forms/ecomerce/checkout/checkout.js +++ b/forms/ecomerce/checkout/checkout.js @@ -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 (); } }); diff --git a/js/htk/field/calendar.js b/js/htk/field/calendar.js index 0267b514..82e223f1 100644 --- a/js/htk/field/calendar.js +++ b/js/htk/field/calendar.js @@ -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