From b83be5f2827a28f8ffc65890b25e12584cf1da2e Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Tue, 27 Oct 2015 20:38:45 +0100 Subject: [PATCH] Solucionado error en estanterias --- debian/changelog | 2 +- web/forms/admin/shelves/shelves.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2a7f9f0c..43277e68 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.238-deb8) stable; urgency=low +hedera-web (1.239-deb8) stable; urgency=low * Initial Release. diff --git a/web/forms/admin/shelves/shelves.js b/web/forms/admin/shelves/shelves.js index 54c578c2..f048b626 100755 --- a/web/forms/admin/shelves/shelves.js +++ b/web/forms/admin/shelves/shelves.js @@ -3,11 +3,15 @@ Vn.Shelves = new Class ({ Extends: Vn.Module + ,activate: function () + { + this.$('date').value = new Date (); + } + ,onConfigChange: function () { var c = this.$('config'); this.$('warehouse').value = c.get ('warehouse_id'); - this.$('date').value = new Date (); this.$('shelf').value = c.get ('shelf_id'); this.$('reign').value = c.get ('reino_id'); this.$('family').value = c.get ('family_id');