mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 02:47:36 -02:30
JS Hint errors
fixed a jshint error from cchurch's change
This commit is contained in:
@@ -1174,6 +1174,7 @@ function($compile, SchedulerInit, Rest, Wait, SetSchedulesInnerDialogSize, Sched
|
|||||||
|
|
||||||
var parseError = false,
|
var parseError = false,
|
||||||
regions, r, i,
|
regions, r, i,
|
||||||
|
group_by,
|
||||||
data = {
|
data = {
|
||||||
group: group_id,
|
group: group_id,
|
||||||
source: ((sources_scope.source && sources_scope.source.value) ? sources_scope.source.value : ''),
|
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')) {
|
if (sources_scope.source && (sources_scope.source.value === 'ec2')) {
|
||||||
data.instance_filters = sources_scope.instance_filters;
|
data.instance_filters = sources_scope.instance_filters;
|
||||||
// Create a string out of selected list of regions
|
// 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 = [];
|
r = [];
|
||||||
for (i = 0; i < group_by.length; i++) {
|
for (i = 0; i < group_by.length; i++) {
|
||||||
r.push(group_by[i].id);
|
r.push(group_by[i].id);
|
||||||
|
|||||||
Reference in New Issue
Block a user