You are here

function forena_settings_js in Forena Reports 6.2

Ajax callback for settings pages. Enter description here ...

Parameters

string $part matches the form path callback:

1 string reference to 'forena_settings_js'
forena_menu in ./forena.module
Implementation of hook_menu.

File

./forena.admin.inc, line 1418

Code

function forena_settings_js($part = '') {
  $form = forena_ahah_helper_start();
  switch ($part) {
    case 'connection_info':
      $form = $form['connection'];
      break;
    case 'access_details':
      $form = $form['access_details'];
      break;
    default:
      $form = array();
  }
  forena_ahah_helper_end($form);
}