Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[WebProfiler] SF toolbar buggy after calling Sfjs.load #23609

Copy link
Copy link
Closed
@dpobel

Description

@dpobel
Issue body actions
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC?
Symfony version 3.3.5

For the admin interface of eZ Platform 2.0, we are developing an application where the navigation happens with AJAX request. After an AJAX request corresponding to the navigation, the following is code is run:

Sfjs.load(
    document.querySelector('.sf-toolbar').id,
    `/_wdt/${debugTokenFromHttpHeader}`
);

so that the toolbar is updated as if the full page was generated (implementation of this feature request #15456)

Somehow, this is working (the toolbar is updated for instance the Route name, the timing or the memory usage are updated) but after calling load the toolbar is buggy in the following ways:

  1. if it's was minimized, it becomes maximized
  2. it's impossible to minimized it again, clicking on Close Toolbar link has no effect
  3. if the page does others AJAX requests, the AJAX requests counter is correctly updated, but it keeps on blinking even after the end of those requests

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.