From b4862ec53cfc3093b8f909813df643e0e119cd7f Mon Sep 17 00:00:00 2001 From: Romain Gilliotte Date: Tue, 21 Apr 2020 19:52:14 +0200 Subject: [PATCH] Fix handsontable licenSe key --- frontend/src/components/pages/input-edition/input-grid.css | 5 ----- frontend/src/components/pages/input-edition/input-grid.js | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/frontend/src/components/pages/input-edition/input-grid.css b/frontend/src/components/pages/input-edition/input-grid.css index 2a9ee482..f5b2ea50 100644 --- a/frontend/src/components/pages/input-edition/input-grid.css +++ b/frontend/src/components/pages/input-edition/input-grid.css @@ -5,8 +5,3 @@ input-grid .wtHolder { height: auto !important; overflow: hidden !important; } - -/* work around passing non-commercial licence key in options does nothing */ -#hot-display-license-info { - display: none; -} diff --git a/frontend/src/components/pages/input-edition/input-grid.js b/frontend/src/components/pages/input-edition/input-grid.js index 84250186..fb65f523 100644 --- a/frontend/src/components/pages/input-edition/input-grid.js +++ b/frontend/src/components/pages/input-edition/input-grid.js @@ -95,7 +95,7 @@ module.component(__componentName, { await loadHot(); this.handsOnTable = new Handsontable(this.$element[0].firstElementChild, { - licenceKey: '00000-00000-00000-00000-00000', + licenseKey: 'non-commercial-and-evaluation', stretchH: "all", // use all of container width preventOverflow: true, // to not go over container width className: "htLeft", // content in cells is left aligned