commit | 30c774f30c1709f71efc250a195dd6fb50c7503b | [log] [tgz] |
---|---|---|
author | Paladox none <thomasmulhall410@yahoo.com> | Tue Apr 06 16:57:45 2021 +0000 |
committer | Paladox none <thomasmulhall410@yahoo.com> | Tue Apr 06 17:26:59 2021 +0000 |
tree | 1885a2bc8ea9fa65ab2934c44cae73d1e1026745 | |
parent | 3cd520b1521ff7c558d0cd95274628a3a20de30a [diff] |
Switch over to loading .js file Gerrit no longer supports html plugins so we have to use the .js version. Bug: Issue 14335 Change-Id: Ied8a2ddcd9dcc13e341dd5a108738418631afc30
diff --git a/java/com/googlesource/gerrit/plugins/codemirror/CodemirrorModule.java b/java/com/googlesource/gerrit/plugins/codemirror/CodemirrorModule.java index 0bba486..c1ccee3 100644 --- a/java/com/googlesource/gerrit/plugins/codemirror/CodemirrorModule.java +++ b/java/com/googlesource/gerrit/plugins/codemirror/CodemirrorModule.java
@@ -23,6 +23,6 @@ @Override protected void configure() { DynamicSet.bind(binder(), WebUiPlugin.class) - .toInstance(new JavaScriptPlugin("codemirror_editor.html")); + .toInstance(new JavaScriptPlugin("codemirror_editor.js")); } }