Skip to content

Commit

Permalink
Merge pull request #68 from mediabeastnz/master
Browse files Browse the repository at this point in the history
Removed header from saveAndRedirect()
  • Loading branch information
unclecheese committed Oct 12, 2014
2 parents 6206ecb + 2b29cea commit feabffc
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 feabffc

Please sign in to comment.