From 4c1ee5ad4a3c00c574bbd97199a60e5ed17d2a03 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Thu, 20 Feb 2020 10:57:06 +0100 Subject: [PATCH] http-click fix --- front/core/directives/http-click.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/core/directives/http-click.js b/front/core/directives/http-click.js index 9f8426cef..4fd932289 100644 --- a/front/core/directives/http-click.js +++ b/front/core/directives/http-click.js @@ -15,7 +15,7 @@ export function directive($parse) { const element = $element[0]; $element.on('click', () => { const controller = element.$ctrl; - controller.$oldDisabled = field.$ctrl.disabled; + controller.$oldDisabled = controller.disabled; controller.disabled = true; cb($scope).finally(() => {