Permalink
Browse files

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
  • Loading branch information...
1 parent 417e0db commit 26813b9221be8a02d8b0cf6dbe4113b8a5a0e9f4 Jean-Fabien committed with chillu Apr 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 forms/ComplexTableField.php
@@ -849,7 +849,7 @@ function saveComplexTableField($data, $form, $request) {
$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
);

0 comments on commit 26813b9

Please sign in to comment.