You are here

function quiz_questions_browser_body_callback in Quiz 7.4

Same name and namespace in other branches
  1. 8.4 quiz.module \quiz_questions_browser_body_callback()
1 string reference to 'quiz_questions_browser_body_callback'
_quiz_question_browser_add_filter_fields in ./quiz.admin.inc
adds filter fields to the question browser form

File

./quiz.admin.inc, line 416
Administrator interface for Quiz module.

Code

function quiz_questions_browser_body_callback($form, $form_state) {
  $commands = array(
    '#type' => 'ajax',
    '#commands' => array(
      ajax_command_replace('#quiz-browser-body', drupal_render($form['question_list']['browser']['table']['body'])),
      ajax_command_replace('#browser-pager', drupal_render($form['question_list']['browser']['table']['pager'])),
    ),
  );
  return $commands;
}