You are here

function ctools_ajax_sample_wizard_next in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 ctools_ajax_sample/ctools_ajax_sample.module \ctools_ajax_sample_wizard_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.

1 string reference to 'ctools_ajax_sample_wizard_next'
ctools_ajax_sample_animal in ctools_ajax_sample/ctools_ajax_sample.module
A modal login callback.

File

ctools_ajax_sample/ctools_ajax_sample.module, line 458
Sample AJAX functionality so people can see some of the CTools AJAX features in use.

Code

function ctools_ajax_sample_wizard_next(&$form_state) {
  ctools_ajax_sample_cache_set($form_state['object_id'], $form_state['object']);
}