You are here

function fancy_login_user_register_ahah_callback in Fancy Login 6.2

File

includes/fancy_login.pages.inc, line 329

Code

function fancy_login_user_register_ahah_callback($form) {
  $messages = drupal_get_messages(NULL, FALSE);
  if (!isset($messages['error']) || !count($messages['error'])) {
    $form['close_popup'] = array(
      '#value' => '<div id="fancy_login_close_popup"></div>',
    );
  }
  return $form;
}