You are here

function panels_ajax_edit_pane_next in Panels 7.3

Same name and namespace in other branches
  1. 6.3 plugins/display_renderers/panels_renderer_editor.class.php \panels_ajax_edit_pane_next()

Handle the 'next' click on the add/edit pane form wizard.

All we need to do is store the updated pane in the cache.

2 string references to 'panels_ajax_edit_pane_next'
panels_renderer_editor::ajax_add_pane in plugins/display_renderers/panels_renderer_editor.class.php
AJAX entry point to add a new pane.
panels_renderer_editor::ajax_edit_pane in plugins/display_renderers/panels_renderer_editor.class.php
AJAX entry point to edit a pane.

File

plugins/display_renderers/panels_renderer_editor.class.php, line 1540
Class file to control the main Panels editor.

Code

function panels_ajax_edit_pane_next(&$form_state) {
  $form_state['display cache']->new_pane = $form_state['pane'];
  panels_edit_cache_set($form_state['display cache']);
}