mirror of
https://github.com/ansible/awx.git
synced 2026-03-27 22:05:07 -02:30
added missing }
oops
This commit is contained in:
@@ -887,6 +887,7 @@ angular.module('SurveyHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper',
|
|||||||
data.required = scope.required;
|
data.required = scope.required;
|
||||||
data.type = scope.type.type;
|
data.type = scope.type.type;
|
||||||
data.variable = scope.variable;
|
data.variable = scope.variable;
|
||||||
|
|
||||||
//set the data.min depending on which type of question
|
//set the data.min depending on which type of question
|
||||||
if (scope.type.type === 'text') {
|
if (scope.type.type === 'text') {
|
||||||
data.min = scope.text_min;
|
data.min = scope.text_min;
|
||||||
@@ -931,6 +932,7 @@ angular.module('SurveyHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper',
|
|||||||
data.default = scope.default_int;
|
data.default = scope.default_int;
|
||||||
} else {
|
} else {
|
||||||
data.default = "";
|
data.default = "";
|
||||||
|
}
|
||||||
data.choices = (scope.type.type === "multiplechoice") ? scope.choices : (scope.type.type === 'multiselect') ? scope.choices : "" ;
|
data.choices = (scope.type.type === "multiplechoice") ? scope.choices : (scope.type.type === 'multiselect') ? scope.choices : "" ;
|
||||||
|
|
||||||
Wait('stop');
|
Wait('stop');
|
||||||
|
|||||||
Reference in New Issue
Block a user