summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt1
-rw-r--r--plugins/layouts/flexible/flexible.inc5
2 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index d61f1ca..736c34d 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -32,6 +32,7 @@ Moved Panels stylizer to CTools. You must update CTools at the same time as Pane
#841824 by levacjeep: Extend panels_edit and panels_edit_layout to allow more options with the $destination.
#842976 by drewish: Make sure the theme knows path and file information for plugin supplied themes.
#743850 by foripepe: Add delete panel node permissions.
+#532900: Flexible sometimes did not update links when region settings changed.
Panels 6.x-3.5 (2010-May-28)
==============
diff --git a/plugins/layouts/flexible/flexible.inc b/plugins/layouts/flexible/flexible.inc
index 9a94ae5..2fcd4cc 100644
--- a/plugins/layouts/flexible/flexible.inc
+++ b/plugins/layouts/flexible/flexible.inc
@@ -972,6 +972,11 @@ function panels_ajax_flexible_edit_settings($handler, $id) {
$output[] = ctools_ajax_command_replace(".$class h2.label",
'<h2 class="label">' . check_plain($item['title']) . '</h2>');
}
+
+ // Rerender our links in case something changed.
+ $output[] = ctools_ajax_command_replace('.flexible-links-' . $id,
+ panels_flexible_render_item_links($renderer, $id, $item));
+
// If editing the canvas, reset the CSS width
if ($id == 'canvas') {
if (!empty($item['fixed_width']) && intval($item['fixed_width'])) {