You are here

function panels_ajax_edit_pane_finish in Panels 6.3

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

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

All we need to do is set a flag so the return can handle adding the pane.

2 string references to 'panels_ajax_edit_pane_finish'
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 1490
Class file to control the main Panels editor.

Code

function panels_ajax_edit_pane_finish(&$form_state) {
  $form_state['complete'] = TRUE;
  return;
}