Skip to content

Commit

Permalink
Removed header from saveAndRedirect()
Browse files Browse the repository at this point in the history
  • Loading branch information
mediabeastnz committed Oct 12, 2014
1 parent 6206ecb commit 2b29cea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion code/extensions/GridFieldBetterButtonsItemRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,6 @@ protected function saveAndRedirect($data, $form, $redirectLink) {
}
return $responseNegotiator->respond($controller->getRequest());
}
Controller::curr()->getResponse()->addHeader('X-Reload', true);

return Controller::curr()->redirect($redirectLink);
}
Expand Down

0 comments on commit 2b29cea

Please sign in to comment.