Skip to content

Conversation

mcg-web
Copy link
Contributor

@mcg-web mcg-web commented Feb 12, 2017

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Documented? no
Fixed tickets none
License MIT

Takes account of the generated url to avoid 404 when using app_dev.php base path.

@mcg-web mcg-web requested a review from ooflorent February 12, 2017 09:09
@mcg-web mcg-web force-pushed the fix-sf-toolbar-update branch from 91ed4cf to 9ae7e62 Compare February 12, 2017 09:26
if (typeof Sfjs !== "undefined" && xdebugToken) {
var toolbarElement = document.querySelector('.sf-toolbar')
Sfjs.load(toolbarElement.id, '/_wdt/' + xdebugToken)
var debugUrlPattern = "{{ url('_wdt', {'token': '+TOKEN+'}) }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you change this to __TOKEN__?

Takes account of the generate url to avoid 404 when using `app_dev.php` base path.
@mcg-web mcg-web force-pushed the fix-sf-toolbar-update branch from 9ae7e62 to e5ae4ed Compare February 13, 2017 08:47
@mcg-web mcg-web merged commit d1a1ffd into overblog:master Feb 13, 2017
@mcg-web mcg-web deleted the fix-sf-toolbar-update branch February 13, 2017 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants