mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 12:41:19 -03:30
JS Hint errors
fixed a jshint error from cchurch's change
This commit is contained in:
parent
1e56d3d2fd
commit
71d0f3af80
@ -1174,6 +1174,7 @@ function($compile, SchedulerInit, Rest, Wait, SetSchedulesInnerDialogSize, Sched
|
||||
|
||||
var parseError = false,
|
||||
regions, r, i,
|
||||
group_by,
|
||||
data = {
|
||||
group: group_id,
|
||||
source: ((sources_scope.source && sources_scope.source.value) ? sources_scope.source.value : ''),
|
||||
@ -1197,7 +1198,7 @@ function($compile, SchedulerInit, Rest, Wait, SetSchedulesInnerDialogSize, Sched
|
||||
if (sources_scope.source && (sources_scope.source.value === 'ec2')) {
|
||||
data.instance_filters = sources_scope.instance_filters;
|
||||
// Create a string out of selected list of regions
|
||||
var group_by = $('#s2id_source_group_by').select2("data");
|
||||
group_by = $('#s2id_source_group_by').select2("data");
|
||||
r = [];
|
||||
for (i = 0; i < group_by.length; i++) {
|
||||
r.push(group_by[i].id);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user