From beb460293395f79153c6f4c00e5beca900ec3cae Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Tue, 14 Oct 2014 17:10:00 -0400 Subject: [PATCH] fixed issue with editing multiselect the multiselect was not updating the default value. --- awx/ui/static/js/helpers/Survey.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/awx/ui/static/js/helpers/Survey.js b/awx/ui/static/js/helpers/Survey.js index 0ddb5aaad3..0d860803a5 100644 --- a/awx/ui/static/js/helpers/Survey.js +++ b/awx/ui/static/js/helpers/Survey.js @@ -666,9 +666,11 @@ angular.module('SurveyHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper', data.default = scope.default_int; } } + else if(fld==='default_multiselect'){ + data.default = scope.default_multiselect; + } else{ data[fld] = scope[fld]; - } }