From 922ae5c848cf5a0fb13d6ee7564850b1727c6711 Mon Sep 17 00:00:00 2001 From: Dani Herrero Date: Thu, 21 Sep 2017 10:23:51 +0200 Subject: [PATCH] billing data with acls --- .../client/src/billing-data/billing-data.html | 23 ++++++++++--------- client/core/src/directives/acl.js | 13 +++++++---- 2 files changed, 21 insertions(+), 15 deletions(-) diff --git a/client/client/src/billing-data/billing-data.html b/client/client/src/billing-data/billing-data.html index fe1ed2084..47f982696 100644 --- a/client/client/src/billing-data/billing-data.html +++ b/client/client/src/billing-data/billing-data.html @@ -11,23 +11,24 @@ Billing information - - + + - - - + + + - - + + @@ -35,14 +36,14 @@ Documentación - - - + + + - + { + input.setAttribute("disabled", "true"); + }); + $element[0].querySelectorAll('i, vn-drop-down').forEach(i => { + i.parentNode.removeChild(i); + }); } } else { $element.remove(); @@ -25,6 +30,6 @@ function vnAcl(aclService, $compile) { } }; } -vnAcl.$inject = ['aclService', '$compile']; +vnAcl.$inject = ['aclService', '$timeout']; module.directive('vnAcl', vnAcl);