From 921f5017deb98876a0ee7d1d5d77b8b8ae5ede3d Mon Sep 17 00:00:00 2001 From: George R Date: Mon, 18 Nov 2019 15:16:38 +0100 Subject: [PATCH] [OGUI-432] stat box dissapear in online (#411) * Fix Control bug on request * [OGUI-432] Use draw not redraw to allow passing drawing options * [OGUI-432] Bump patch version * [OGUI-432] Use redraw but always cleanup dom * [OGUI-432] Clean root all the time --- QualityControl/package-lock.json | 2 +- QualityControl/package.json | 2 +- QualityControl/public/object/objectDraw.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/QualityControl/package-lock.json b/QualityControl/package-lock.json index 3154b472d..1cb6debec 100644 --- a/QualityControl/package-lock.json +++ b/QualityControl/package-lock.json @@ -1,6 +1,6 @@ { "name": "@aliceo2/qc", - "version": "1.6.5", + "version": "1.6.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/QualityControl/package.json b/QualityControl/package.json index 0f9cfbbb2..fa58abd0a 100644 --- a/QualityControl/package.json +++ b/QualityControl/package.json @@ -1,6 +1,6 @@ { "name": "@aliceo2/qc", - "version": "1.6.5", + "version": "1.6.6", "description": "O2 Quality Control Web User Interface", "main": "export.js", "scripts": { diff --git a/QualityControl/public/object/objectDraw.js b/QualityControl/public/object/objectDraw.js index c6d757419..9c50a343e 100644 --- a/QualityControl/public/object/objectDraw.js +++ b/QualityControl/public/object/objectDraw.js @@ -161,7 +161,7 @@ function redrawOnDataUpdate(model, dom, tabObject) { if (objectRemoteData && objectRemoteData.isSuccess() && (shouldRedraw || shouldCleanRedraw)) { setTimeout(() => { - if (shouldCleanRedraw && JSROOT.cleanup) { + if (JSROOT.cleanup) { // Remove previous JSROOT content before draw to do a real redraw. // Official redraw will keep options whenever they changed, we don't want this. // (cleanup might not be loaded yet)