From 50e44def7bf461c3dfe29fe664fa782d0512ad97 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Fri, 13 Feb 2015 15:38:58 -0500 Subject: [PATCH] added missing } oops --- awx/ui/static/js/helpers/Survey.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awx/ui/static/js/helpers/Survey.js b/awx/ui/static/js/helpers/Survey.js index 83115cfeaf..11c7ea6a46 100644 --- a/awx/ui/static/js/helpers/Survey.js +++ b/awx/ui/static/js/helpers/Survey.js @@ -887,6 +887,7 @@ angular.module('SurveyHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper', data.required = scope.required; data.type = scope.type.type; data.variable = scope.variable; + //set the data.min depending on which type of question if (scope.type.type === 'text') { data.min = scope.text_min; @@ -931,6 +932,7 @@ angular.module('SurveyHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper', data.default = scope.default_int; } else { data.default = ""; + } data.choices = (scope.type.type === "multiplechoice") ? scope.choices : (scope.type.type === 'multiselect') ? scope.choices : "" ; Wait('stop');