From ac5d9b909b04b4de02f245e66f1cc0d7ee8c05d7 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Tue, 1 Oct 2019 16:48:01 +0200 Subject: [PATCH] Agency exclusions & style fixes --- modules/agency/front/exclusions/index.html | 16 ---------------- modules/agency/front/exclusions/index.js | 19 ++----------------- modules/agency/front/index/index.html | 2 +- 3 files changed, 3 insertions(+), 34 deletions(-) diff --git a/modules/agency/front/exclusions/index.html b/modules/agency/front/exclusions/index.html index 05866c86d..4d46ba3ce 100644 --- a/modules/agency/front/exclusions/index.html +++ b/modules/agency/front/exclusions/index.html @@ -29,22 +29,6 @@ on-selection="$ctrl.onCreate($days)"> - - - - - - - - - - - - { - this.selected = null; - this.isNew = null; - this.$.dialog.hide(); - this.refresh(); - }); - - return false; + this.$http.post(this.path, {day: $days[0]}) + .then(() => this.refresh()); } onDelete(id) { diff --git a/modules/agency/front/index/index.html b/modules/agency/front/index/index.html index 079200b33..8c9deddc6 100644 --- a/modules/agency/front/index/index.html +++ b/modules/agency/front/index/index.html @@ -6,7 +6,7 @@ data="zones" auto-load="false"> -
+