Skip to content

Commit

Permalink
Merge pull request #656 from basil/JENKINS-70564
Browse files Browse the repository at this point in the history
[JENKINS-70564] Replay page broken after the Ace editor update
  • Loading branch information
jglick authored Feb 8, 2023
2 parents 8afc8e2 + bf6cd92 commit b2e7168
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugin/src/main/js/workflow-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { addSamplesWidget } from './samples';
import ace from "ace-builds/src-noconflict/ace";
import "ace-builds/src-noconflict/ext-language_tools";
import "ace-builds/src-noconflict/mode-groovy";
import "ace-builds/src-noconflict/snippets/javascript";
import "ace-builds/src-noconflict/theme-tomorrow";
import "ace-builds/src-noconflict/theme-tomorrow_night";

Expand All @@ -17,6 +18,7 @@ import "./snippets/workflow";

var editorIdCounter = 0;

document.addEventListener("DOMContentLoaded", function() {
$('.workflow-editor-wrapper').each(function() {
initEditor($(this));
});
Expand Down Expand Up @@ -130,3 +132,4 @@ var editorIdCounter = 0;
wrapper.show();
textarea.hide();
}
});

0 comments on commit b2e7168

Please sign in to comment.