You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2022/08/29 04:50:23 UTC
[openmeetings] 01/02: [OPENMEETINGS-2738] fabric is updated, temporary fix is dropped
This is an automated email from the ASF dual-hosted git repository.
solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git
commit d6adb81b3a350e6ad52077ffcbfbecc1e7a3905d
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Mon Aug 29 10:53:19 2022 +0700
[OPENMEETINGS-2738] fabric is updated, temporary fix is dropped
---
openmeetings-web/src/main/front/wb/package.json | 4 ++--
openmeetings-web/src/main/front/wb/src/wb.js | 6 +-----
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/openmeetings-web/src/main/front/wb/package.json b/openmeetings-web/src/main/front/wb/package.json
index 04a3ed5b5..3b8787154 100644
--- a/openmeetings-web/src/main/front/wb/package.json
+++ b/openmeetings-web/src/main/front/wb/package.json
@@ -14,10 +14,10 @@
"devDependencies": {
"browserify": "^17.0.0",
"esmify": "^2.1.1",
- "terser": "^5.13.1"
+ "terser": "^5.15.0"
},
"dependencies": {
- "fabric": "^5.2.1",
+ "fabric": "^5.2.4",
"mathjax-full": "^3.2.2"
}
}
diff --git a/openmeetings-web/src/main/front/wb/src/wb.js b/openmeetings-web/src/main/front/wb/src/wb.js
index 4c9d91096..adbff2fe6 100644
--- a/openmeetings-web/src/main/front/wb/src/wb.js
+++ b/openmeetings-web/src/main/front/wb/src/wb.js
@@ -458,11 +458,7 @@ module.exports = class Wb {
for (let i = 1; i < canvases.length; ++i) {
const cc = $('#can-' + this.id + '-slide-' + i).closest('.canvas-container');
cc.remove();
- try { // FIXME TODO HACK
- canvases[i].dispose();
- } catch {
- //no-op
- }
+ canvases[i].dispose();
}
$('.room-block .wb-block .wb-video').remove();
canvases.splice(1);