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">
-