mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
JSHint errors.
cleaned up some errors from jmitchell
This commit is contained in:
@@ -523,11 +523,11 @@ angular.module('SchedulesHelper', [ 'Utilities', 'RestServices', 'SchedulesHelpe
|
|||||||
}
|
}
|
||||||
itm.nameTip = item.name;
|
itm.nameTip = item.name;
|
||||||
// include the word schedule if the schedule name does not include the word schedule
|
// include the word schedule if the schedule name does not include the word schedule
|
||||||
if (item.name.indexOf("schedule") == -1 && item.name.indexOf("Schedule") == -1) {
|
if (item.name.indexOf("schedule") === -1 && item.name.indexOf("Schedule") === -1) {
|
||||||
itm.nameTip += " schedule";
|
itm.nameTip += " schedule";
|
||||||
}
|
}
|
||||||
itm.nameTip += " for "
|
itm.nameTip += " for ";
|
||||||
if (job.name.indexOf("job") == -1 && job.name.indexOf("Job") == -1) {
|
if (job.name.indexOf("job") === -1 && job.name.indexOf("Job") === -1) {
|
||||||
itm.nameTip += "job ";
|
itm.nameTip += "job ";
|
||||||
}
|
}
|
||||||
itm.nameTip += job.name;
|
itm.nameTip += job.name;
|
||||||
|
|||||||
@@ -471,7 +471,7 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'AuthService', 'Job
|
|||||||
trigger: 'hover focus'
|
trigger: 'hover focus'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
}])
|
}])
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user