Commit c4bfb34
committed
[FIX] spreadsheet: fix zoomable chart cursor
Commit Description
These changes aims to fix some bad behaviors with the cursor for
the zoomable chart, caused by the onOdooChartItemHover method and
the odoo menu link for the Odoo chart.
This fix removes the onHover and onClick options for the master
chart in zoomable chart, and add an early return for the menu link
plugin in case of no menu or no dashboard mode.
Related Task
closes #8013
Task: 5012198
Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>1 parent 90cb91a commit c4bfb34
File tree
2 files changed
+3
-2
lines changed- src/components/figures/chart/chartJs/zoomable_chart
2 files changed
+3
-2
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
| 458 | + | |
458 | 459 | | |
459 | 460 | | |
460 | 461 | | |
| |||
465 | 466 | | |
466 | 467 | | |
467 | 468 | | |
468 | | - | |
| 469 | + | |
469 | 470 | | |
470 | 471 | | |
471 | 472 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments