BUGFIX Reloads the item in a complex table field popup when clicking on its name after having saved it, rather than a blank popup fixes #6549

This commit is contained in:
Jean-Fabien 2011-04-06 08:43:22 +12:00 committed by Ingo Schommer
parent 417e0dbc21
commit 26813b9221

View File

@ -849,7 +849,7 @@ class ComplexTableField_ItemRequest extends TableListField_ItemRequest {
$message = sprintf(
_t('ComplexTableField.SUCCESSEDIT', 'Saved %s %s %s'),
$dataObject->singular_name(),
'<a href="' . $this->Link() . '">"' . htmlspecialchars($dataObject->Title, ENT_QUOTES) . '"</a>',
'<a href="' . $this->Link('edit') . '">"' . htmlspecialchars($dataObject->Title, ENT_QUOTES) . '"</a>',
$closeLink
);