mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
ENH Make toast message "Records reordered." localisable (#321)
Co-authored-by: Tom Oude Rengerink <tom@cube.nl>
This commit is contained in:
parent
377dc1ef93
commit
78fa8ba747
@ -456,7 +456,10 @@ class GridFieldOrderableRows extends RequestHandler implements
|
|||||||
$this->httpError(400);
|
$this->httpError(400);
|
||||||
}
|
}
|
||||||
|
|
||||||
Controller::curr()->getResponse()->addHeader('X-Status', rawurlencode('Records reordered.'));
|
Controller::curr()->getResponse()->addHeader(
|
||||||
|
'X-Status',
|
||||||
|
rawurlencode(_t(__CLASS__ . '.REORDERED', 'Records reordered.'))
|
||||||
|
);
|
||||||
return $grid->FieldHolder();
|
return $grid->FieldHolder();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user