You are here

function panels_ajax_edit_pane_cancel 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_cancel()

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

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

Code

function panels_ajax_edit_pane_cancel(&$form_state) {
  $form_state['cancel'] = TRUE;
  return;
}