summaryrefslogtreecommitdiffstats
path: root/client/components/settings/settingBody.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-12-16 22:21:16 +0200
committerLauri Ojansivu <x@xet7.org>2018-12-16 22:21:16 +0200
commitf1ed6304a4c3bfcd1c778b0c43cafe6808829286 (patch)
tree5c2ecf6231e906c1dc54b6777b345281d14a9483 /client/components/settings/settingBody.js
parenta42d9871bd420ba0647a590ad2a131822455a905 (diff)
downloadwekan-f1ed6304a4c3bfcd1c778b0c43cafe6808829286.tar.gz
wekan-f1ed6304a4c3bfcd1c778b0c43cafe6808829286.tar.bz2
wekan-f1ed6304a4c3bfcd1c778b0c43cafe6808829286.zip
- Admin Panel / Layout / Custom HTML after <body> start, and Custom HTML before </body> end.
In progress, does not work yet. Thanks to xet7 !
Diffstat (limited to 'client/components/settings/settingBody.js')
-rw-r--r--client/components/settings/settingBody.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/components/settings/settingBody.js b/client/components/settings/settingBody.js
index ba5b4f47..4f07c84c 100644
--- a/client/components/settings/settingBody.js
+++ b/client/components/settings/settingBody.js
@@ -140,6 +140,8 @@ BlazeComponent.extendComponent({
const productName = $('#product-name').val().trim();
const hideLogoChange = ($('input[name=hideLogo]:checked').val() === 'true');
+ const customHTMLafterBodyStart = $('#customHTMLafterBodyStart').val().trim();
+ const customHTMLbeforeBodyEnd = $('#customHTMLbeforeBodyEnd').val().trim();
try {
@@ -147,6 +149,8 @@ BlazeComponent.extendComponent({
$set: {
productName,
hideLogo: hideLogoChange,
+ customHTMLafterBodyStart,
+ customHTMLbeforeBodyEnd,
},
});
} catch (e) {