You are here

function homebox_js_save_user_settings in Homebox 7.3

Same name and namespace in other branches
  1. 6.3 homebox.module \homebox_js_save_user_settings()
  2. 6.2 homebox.module \homebox_js_save_user_settings()
  3. 7.2 homebox.module \homebox_js_save_user_settings()

Javascript callback

Save a users page settings

1 string reference to 'homebox_js_save_user_settings'
homebox_menu in ./homebox.module
Implements hook_menu().

File

./homebox.module, line 1244
Homebox main file, takes care of global functions settings constants, etc.

Code

function homebox_js_save_user_settings($page) {
  $form = drupal_render(drupal_get_form('homebox_save_form', $page));
  print drupal_json_output(array(
    'status' => TRUE,
    'data' => $form,
  ));
}