diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-12-16 22:21:16 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-12-16 22:21:16 +0200 |
commit | f1ed6304a4c3bfcd1c778b0c43cafe6808829286 (patch) | |
tree | 5c2ecf6231e906c1dc54b6777b345281d14a9483 /client/components/settings/settingBody.js | |
parent | a42d9871bd420ba0647a590ad2a131822455a905 (diff) | |
download | wekan-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.js | 4 |
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) { |