#599428: Enable and Disable variant buttons led to "Operation trail does not exist."
authorEarl Miles
Tue, 13 Oct 2009 20:44:53 +0000 (20:44 +0000)
committerEarl Miles
Tue, 13 Oct 2009 20:44:53 +0000 (20:44 +0000)
CHANGELOG.txt
page_manager/page_manager.admin.inc

index 17b73ce..064b9ca 100644 (file)
@@ -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
 ==================
index f7988ec..eea7446 100644 (file)
@@ -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');
 }
 
 /**