You are here

function advpoll_js_vote in Advanced Poll 6

Same name and namespace in other branches
  1. 6.3 advpoll.module \advpoll_js_vote()
  2. 6.2 advpoll.module \advpoll_js_vote()

Handle JavaScript voting.

1 string reference to 'advpoll_js_vote'
advpoll_menu in ./advpoll.module
Implementation of hook_menu().

File

./advpoll.module, line 1400
Advanced Poll - a sophisticated polling module for voting, elections, and group decision-making.

Code

function advpoll_js_vote() {

  // TODO : fix this function.
  $form_state = array();
  $form_build_id = $_POST['form_build_id'];
  if (!($form = form_get_cache($form_build_id, $form_state))) {
    exit;
  }
}