function panels_renderer_editor::ajax_show in Panels 6.3
Same name and namespace in other branches
- 7.3 plugins/display_renderers/panels_renderer_editor.class.php \panels_renderer_editor::ajax_show()
AJAX command to show a pane.
File
- plugins/
display_renderers/ panels_renderer_editor.class.php, line 476 - Class file to control the main Panels editor.
Class
- panels_renderer_editor
- @file Class file to control the main Panels editor.
Code
function ajax_show($pid = NULL) {
if (empty($this->display->content[$pid])) {
ctools_ajax_render_error(t('Invalid pane id.'));
}
$this->display->content[$pid]->shown = TRUE;
panels_edit_cache_set($this->cache);
$this
->command_update_pane($pid);
}