Skip to content

Commit ba75435

Browse files
committed
bug symfony#17283 [WebProfilerBundle] Remove loading status from AJAX toolbar after error (kucharovic)
This PR was submitted for the master branch but it was merged into the 2.8 branch instead (closes symfony#17283). Discussion ---------- [WebProfilerBundle] Remove loading status from AJAX toolbar after error Q | A ---|--- Bug fix? | no New feature? | no BC breaks? | no Deprecations? | no Tests pass? | yes Fixed tickets | License | MIT Doc PR | Commits ------- 079ab73 [WebProfilerBundle] Remove loading status from AJAX toolbar after error
2 parents 111f51d + 079ab73 commit ba75435

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig

+1
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@
188188
Sfjs.removeClass(ajaxToolbarPanel, 'sf-toolbar-status-red');
189189
} else if (state == 'error') {
190190
Sfjs.addClass(ajaxToolbarPanel, 'sf-toolbar-status-red');
191+
Sfjs.removeClass(ajaxToolbarPanel, 'sf-ajax-request-loading');
191192
} else {
192193
Sfjs.addClass(ajaxToolbarPanel, 'sf-ajax-request-loading');
193194
}

0 commit comments

Comments
 (0)