From 28f3f178f00b084dd375bebac7635fa293a96633 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Tue, 14 Feb 2017 16:59:30 -0500 Subject: [PATCH] only allow single selection for LOG_AGGREGATOR_TYPE see: #5000 --- .../system-form/configuration-system.controller.js | 2 +- .../configuration/system-form/sub-forms/system-logging.form.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/awx/ui/client/src/configuration/system-form/configuration-system.controller.js b/awx/ui/client/src/configuration/system-form/configuration-system.controller.js index 3a3a1b789d..05af8fbfc8 100644 --- a/awx/ui/client/src/configuration/system-form/configuration-system.controller.js +++ b/awx/ui/client/src/configuration/system-form/configuration-system.controller.js @@ -167,7 +167,7 @@ export default [ dropdownRendered = true; CreateSelect2({ element: '#configuration_logging_template_LOG_AGGREGATOR_TYPE', - multiple: true, + multiple: false, placeholder: i18n._('Select types'), opts: opts }); diff --git a/awx/ui/client/src/configuration/system-form/sub-forms/system-logging.form.js b/awx/ui/client/src/configuration/system-form/sub-forms/system-logging.form.js index f2ed9f54e3..9669d8074a 100644 --- a/awx/ui/client/src/configuration/system-form/sub-forms/system-logging.form.js +++ b/awx/ui/client/src/configuration/system-form/sub-forms/system-logging.form.js @@ -23,7 +23,6 @@ type: 'select', reset: 'LOG_AGGREGATOR_TYPE', ngOptions: 'type.label for type in LOG_AGGREGATOR_TYPE_options track by type.value', - multiSelect: true }, LOG_AGGREGATOR_USERNAME: { type: 'text',