mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 15:06:02 -03:30
removing helpers/JobDetail.js
This commit is contained in:
@@ -189,7 +189,6 @@ var tower = angular.module('Tower', [
|
|||||||
'LogViewerStatusDefinition',
|
'LogViewerStatusDefinition',
|
||||||
'StandardOutHelper',
|
'StandardOutHelper',
|
||||||
'LogViewerOptionsDefinition',
|
'LogViewerOptionsDefinition',
|
||||||
'JobDetailHelper',
|
|
||||||
'lrInfiniteScroll',
|
'lrInfiniteScroll',
|
||||||
'LoadConfigHelper',
|
'LoadConfigHelper',
|
||||||
'PortalJobsListDefinition',
|
'PortalJobsListDefinition',
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ import Credentials from "./helpers/Credentials";
|
|||||||
import Events from "./helpers/Events";
|
import Events from "./helpers/Events";
|
||||||
import Groups from "./helpers/Groups";
|
import Groups from "./helpers/Groups";
|
||||||
import Hosts from "./helpers/Hosts";
|
import Hosts from "./helpers/Hosts";
|
||||||
import JobDetail from "./helpers/JobDetail";
|
|
||||||
import JobSubmission from "./helpers/JobSubmission";
|
import JobSubmission from "./helpers/JobSubmission";
|
||||||
import JobTemplates from "./helpers/JobTemplates";
|
import JobTemplates from "./helpers/JobTemplates";
|
||||||
import Jobs from "./helpers/Jobs";
|
import Jobs from "./helpers/Jobs";
|
||||||
@@ -38,7 +37,6 @@ export
|
|||||||
Events,
|
Events,
|
||||||
Groups,
|
Groups,
|
||||||
Hosts,
|
Hosts,
|
||||||
JobDetail,
|
|
||||||
JobSubmission,
|
JobSubmission,
|
||||||
JobTemplates,
|
JobTemplates,
|
||||||
Jobs,
|
Jobs,
|
||||||
|
|||||||
@@ -17,14 +17,14 @@
|
|||||||
|
|
||||||
var initCodeMirror = function(el, data, mode){
|
var initCodeMirror = function(el, data, mode){
|
||||||
var container = document.getElementById(el);
|
var container = document.getElementById(el);
|
||||||
var editor = CodeMirror.fromTextArea(container, {
|
var editor = CodeMirror.fromTextArea(container, { // jshint ignore:line
|
||||||
lineNumbers: true,
|
lineNumbers: true,
|
||||||
mode: mode
|
mode: mode
|
||||||
});
|
});
|
||||||
editor.setSize("100%", 200);
|
editor.setSize("100%", 200);
|
||||||
editor.getDoc().setValue(data);
|
editor.getDoc().setValue(data);
|
||||||
};
|
};
|
||||||
|
/*ignore jslint end*/
|
||||||
$scope.isActiveState = function(name){
|
$scope.isActiveState = function(name){
|
||||||
return $state.current.name === name;
|
return $state.current.name === name;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user