You are here

function entityreference_view_widget_exposed_filters_submit in Entity Reference View Widget 7

Submit handler added to the "Apply" button of the exposed filters form. Rerenders the form so that it works even if JS is disabled.

1 string reference to 'entityreference_view_widget_exposed_filters_submit'
entityreference_view_widget_prepare_filters in ./entityreference_view_widget.module
Prepare the form containing exposed views filters for functioning as a part of the widget form (validation, #ajax, #parents...).

File

./entityreference_view_widget.module, line 537

Code

function entityreference_view_widget_exposed_filters_submit($form, &$form_state) {
  $form_state['rebuild'] = TRUE;
}