Commit d9065ef
John75SunCity
fix: Move diagram-data script inside container for JS access
The #diagram-data script element was placed outside the
.o_portal_organization_diagram container, so the JavaScript
couldn't find it with container.querySelector('#diagram-data').
Moved the script inside the container so the portal organization
diagram can properly parse and display the JSON node/edge data.1 parent 192dbf8 commit d9065ef
1 file changed
+7
-7
lines changedLines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
254 | 252 | | |
255 | | - | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
0 commit comments