From 9d040e967206bc12a578ea12d456ad0454cf2d90 Mon Sep 17 00:00:00 2001 From: David Baldwynn Date: Sun, 19 Nov 2017 21:26:49 -0800 Subject: [PATCH] fixed flashing between configure tabs --- .../admin/directives/configure-form.client.directive.js | 3 +++ .../adminTabs/configureTabs/respondent-notifications.html | 8 +++++--- .../directiveViews/form/configure-form.client.view.html | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/public/modules/forms/admin/directives/configure-form.client.directive.js b/public/modules/forms/admin/directives/configure-form.client.directive.js index be4266d3..79bb1755 100644 --- a/public/modules/forms/admin/directives/configure-form.client.directive.js +++ b/public/modules/forms/admin/directives/configure-form.client.directive.js @@ -39,16 +39,19 @@ angular.module('forms').directive('configureFormDirective', ['$rootScope', '$sta { heading: $translate.instant('GENERAL_TAB'), route: 'viewForm.configure.general', + template: 'modules/forms/admin/views/adminTabs/configureTabs/general.html', active: false }, { heading: $translate.instant('SELF_NOTIFICATIONS_TAB'), route: 'viewForm.configure.self_notifications', + template: 'modules/forms/admin/views/adminTabs/configureTabs/self_notifications.html', active: false }, { heading: $translate.instant('RESPONDENT_NOTIFICATIONS_TAB'), route: 'viewForm.configure.respondent_notifications', + template: 'modules/forms/admin/views/adminTabs/configureTabs/respondent_notifications.html', active: false } ]; diff --git a/public/modules/forms/admin/views/adminTabs/configureTabs/respondent-notifications.html b/public/modules/forms/admin/views/adminTabs/configureTabs/respondent-notifications.html index 8fc88d4a..cc55fd96 100644 --- a/public/modules/forms/admin/views/adminTabs/configureTabs/respondent-notifications.html +++ b/public/modules/forms/admin/views/adminTabs/configureTabs/respondent-notifications.html @@ -17,11 +17,13 @@
-
diff --git a/public/modules/forms/admin/views/directiveViews/form/configure-form.client.view.html b/public/modules/forms/admin/views/directiveViews/form/configure-form.client.view.html index 685045e4..3da080f9 100644 --- a/public/modules/forms/admin/views/directiveViews/form/configure-form.client.view.html +++ b/public/modules/forms/admin/views/directiveViews/form/configure-form.client.view.html @@ -2,7 +2,7 @@
-
+