summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt1
-rw-r--r--page_manager/page_manager.admin.inc4
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 17b73ce..064b9ca 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -20,6 +20,7 @@ Allow override of blog and user blog pages.
Allow override of poll page.
#596450 by Scott Reynolds: Provide an ajax command response to reset the modal to the 'loading' state.
#554678: Do not allow % or ! by itself as part of a path, as that breaks arguments.
+#599428: Enable and Disable variant buttons led to "Operation trail does not exist."
ctools 6.x-1.x-dev
==================
diff --git a/page_manager/page_manager.admin.inc b/page_manager/page_manager.admin.inc
index f7988ec..eea7446 100644
--- a/page_manager/page_manager.admin.inc
+++ b/page_manager/page_manager.admin.inc
@@ -1536,7 +1536,7 @@ function page_manager_handler_enable_submit(&$form, &$form_state) {
$form_state['handler']->disabled = FALSE;
$form_state['page']->handler_info[$form_state['handler_id']]['disabled'] = FALSE;
$form_state['page']->handler_info[$form_state['handler_id']]['changed'] |= PAGE_MANAGER_CHANGED_STATUS;
- $form_state['new trail'] = array('handlers', $form_state['handler_id'], 'disable');
+ $form_state['new trail'] = array('handlers', $form_state['handler_id'], 'actions', 'disable');
}
/**
@@ -1568,7 +1568,7 @@ function page_manager_handler_disable_submit(&$form, &$form_state) {
$form_state['handler']->disabled = TRUE;
$form_state['page']->handler_info[$form_state['handler_id']]['disabled'] = TRUE;
$form_state['page']->handler_info[$form_state['handler_id']]['changed'] |= PAGE_MANAGER_CHANGED_STATUS;
- $form_state['new trail'] = array('handlers', $form_state['handler_id'], 'enable');
+ $form_state['new trail'] = array('handlers', $form_state['handler_id'], 'actions', 'enable');
}
/**