Commit 1e271bc
committed
Always delay the destruction of bootstrap objects during cleanup
A JavaScript error occurred when clicking the "Edit" menu at the top right
of saved search widgets:
Uncaught TypeError: Cannot convert undefined or null to object
at Object.values (<anonymous>)
at Ni._isWithActiveTrigger (bootstrap.min.js:6:48663)
This was caused by the "dispose" method being called too early, conflicting
with other active code that still required the instance. The issue can
be resolved by delaying the "dispose" method call. Previously, we had
already delayed it, but only during transitions or when it was shown, which
unfortunately wasn't sufficient.1 parent 3207dc7 commit 1e271bc
File tree
1 file changed
+10
-15
lines changed1 file changed
+10
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1018 | 1018 | | |
1019 | 1019 | | |
1020 | 1020 | | |
1021 | | - | |
1022 | | - | |
1023 | | - | |
1024 | | - | |
1025 | | - | |
1026 | | - | |
1027 | | - | |
1028 | | - | |
1029 | | - | |
1030 | | - | |
1031 | | - | |
1032 | | - | |
1033 | | - | |
1034 | | - | |
1035 | | - | |
| 1021 | + | |
| 1022 | + | |
1036 | 1023 | | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
1037 | 1032 | | |
1038 | 1033 | | |
1039 | 1034 | | |
| |||
0 commit comments