From: danielhanrahan Date: Mon, 30 Aug 2021 15:56:58 +0000 (+0100) Subject: Add missing JS import in gui-editor-apex X-Git-Tag: 2.1.0~13^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=f30d4d2cdda3486f4eacb3dc284e52e2f5971d3b;p=policy%2Fgui.git Add missing JS import in gui-editor-apex There is a missing import for apexUtils_escapeHtml (used on line 53), preventing the context schema table from loading Issue-ID: POLICY-3602 Signed-off-by: danielhanrahan Change-Id: Id08864c93201007ee353f054f0580024af1d878a --- diff --git a/gui-editors/gui-editor-apex/src/main/resources/webapp/js/ApexContextSchemaTab.js b/gui-editors/gui-editor-apex/src/main/resources/webapp/js/ApexContextSchemaTab.js index c5c7daa..fa5ed6f 100644 --- a/gui-editors/gui-editor-apex/src/main/resources/webapp/js/ApexContextSchemaTab.js +++ b/gui-editors/gui-editor-apex/src/main/resources/webapp/js/ApexContextSchemaTab.js @@ -22,7 +22,7 @@ const {ajax_get} = require("./ApexAjax"); const {createTable} = require('./ApexTable'); const {rightClickMenu_scopePreserver} = require('./contextMenu'); -const {apexUtils_removeElement} = require('./ApexUtils'); +const {apexUtils_escapeHtml, apexUtils_removeElement} = require('./ApexUtils'); function contextSchemaTab_reset() { contextSchemaTab_deactivate();