Skip to content

Commit

Permalink
Bugfix Redirect type
Browse files Browse the repository at this point in the history
  • Loading branch information
Pim Widdershoven committed Apr 28, 2015
1 parent 947e015 commit 1a21fce
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions EventListener/AjaxResponseListener.php
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ public function onKernelResponse(FilterResponseEvent $event)
// Get the data
$data = $response->getData();

// Do nothing if the type is a redirect
if ($data['type'] == AjaxResponse::TYPE_REDIRECT) {
return;
}

// Check if there is a FlashBag set
$flashBags = $this->session->getFlashBag()->all();
if (!empty($flashBags)) {
Expand Down

0 comments on commit 1a21fce

Please sign in to comment.