From ff9e4947763b2b78378425123060aef65b5fd63f Mon Sep 17 00:00:00 2001 From: Yonel Ceruto Date: Mon, 25 Feb 2019 16:12:18 -0500 Subject: [PATCH] Fix row update on finish ajax request --- .../Resources/views/Profiler/base_js.html.twig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig index 2b33588bc15f5..bc42b1a5feb63 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig @@ -212,11 +212,11 @@ pendingRequests--; var row = request.DOMNode; /* Unpack the children from the row */ - var profilerCell = row.children[0]; - var methodCell = row.children[1]; - var statusCodeCell = row.children[3]; + var profilerCell = row.children[1]; + var methodCell = row.children[2]; + var statusCodeCell = row.children[4]; var statusCodeElem = statusCodeCell.children[0]; - var durationCell = row.children[5]; + var durationCell = row.children[6]; if (request.error) { row.className = 'sf-ajax-request sf-ajax-request-error';