You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that <script> tags loaded for panels are not executed (but included in the DOM). The function responsible for this is $$.executeScripts. I modified it getting inspiration from StackOverflow, the following implementation works in my case:
I wanted other opinions before sending a pull request. I did not see another linked issue, is this recent? Does it concern other browsers? Will this solution be cross-browser?
The text was updated successfully, but these errors were encountered:
I'm not sure why this worked before and doesn't anymore.
However, the upcoming version of django-debug-toolbar contains #1282; panels are now supposed to deliver JSON, not HTML blobs. So, you should probably submit a PR to djdt-flamegraph not to django-debug-toolbar, except if it turns out that the upcoming panel API is insufficient.
The "Time" panel is a working example that execute scripts on load.
Closing as the executeScripts function has changed significantly since this was reported and this looks like it may be an issue in flamegraph. Please reopen if you can provide details that demonstrate otherwise. Thanks.
Wanting to try out djdt-flamegraph, I fall onto a bug.
The issue is that
<script>
tags loaded for panels are not executed (but included in the DOM). The function responsible for this is$$.executeScripts
. I modified it getting inspiration from StackOverflow, the following implementation works in my case:I wanted other opinions before sending a pull request. I did not see another linked issue, is this recent? Does it concern other browsers? Will this solution be cross-browser?
The text was updated successfully, but these errors were encountered: