From 7c8a901b841878c7d63940baa551f5982958874e Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Thu, 10 Feb 2022 23:56:05 +0100 Subject: Cleanup admin settings js files * Move admin.js to webpack, so that this use the bundled jquery files instead of the deprecated window.$ Also fixing formatting * Remove log.js that seems to be from a time where logreader was bundled with server and I couldn't find an usage of it anymore * Fix recent regression in rebuild navigation function (now not depending on jquery anymore and bundled by webpack). Signed-off-by: Carl Schwan --- webpack.modules.js | 1 + 1 file changed, 1 insertion(+) (limited to 'webpack.modules.js') diff --git a/webpack.modules.js b/webpack.modules.js index 82d3998e881..81486df86eb 100644 --- a/webpack.modules.js +++ b/webpack.modules.js @@ -80,6 +80,7 @@ module.exports = { 'vue-settings-personal-info': path.join(__dirname, 'apps/settings/src', 'main-personal-info.js'), 'vue-settings-personal-security': path.join(__dirname, 'apps/settings/src', 'main-personal-security.js'), 'vue-settings-personal-webauthn': path.join(__dirname, 'apps/settings/src', 'main-personal-webauth.js'), + 'legacy-admin': path.join(__dirname, 'apps/settings/src', 'admin.js'), }, systemtags: { systemtags: path.join(__dirname, 'apps/systemtags/src', 'systemtags.js'), -- cgit v1.2.3