mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-25 17:31:48 -05:00
push initial events on partially complete job initialization
This commit is contained in:
@@ -30,11 +30,11 @@ const re = new RegExp(pattern);
|
||||
const hasAnsi = input => re.test(input);
|
||||
|
||||
function JobRenderService ($q, $sce, $window) {
|
||||
this.init = ({ compile, apply, isStreamActive }) => {
|
||||
this.init = ({ compile, isStreamActive }) => {
|
||||
this.parent = null;
|
||||
this.record = {};
|
||||
this.el = $(ELEMENT_TBODY);
|
||||
this.hooks = { isStreamActive, compile, apply };
|
||||
this.hooks = { isStreamActive, compile };
|
||||
};
|
||||
|
||||
this.sortByLineNumber = (a, b) => {
|
||||
@@ -239,8 +239,6 @@ function JobRenderService ($q, $sce, $window) {
|
||||
return list;
|
||||
};
|
||||
|
||||
this.getEvents = () => this.hooks.get();
|
||||
|
||||
this.insert = (events, insert) => {
|
||||
const result = this.transformEventGroup(events);
|
||||
const html = this.trustHtml(result.html);
|
||||
|
||||
Reference in New Issue
Block a user