You are here

function views_plugin_style_table_megarows::options_submit in Views Megarow 7

Store variables in the right place due to weird views tree storage.

Overrides views_plugin::options_submit

File

includes/views/plugins/views_plugin_style_table_megarows.inc, line 83
Contains the table style plugin.

Class

views_plugin_style_table_megarows
Style plugin to render each item as a row in a table.

Code

function options_submit(&$form, &$form_state) {
  parent::options_submit($form, $form_state);
  $form_state['values']['style_options']['autoclose'] = $form_state['values']['autoclose'];
  $form_state['values']['style_options']['enable_scroll'] = $form_state['values']['enable_scroll'];
  $form_state['values']['style_options']['scroll_padding'] = $form_state['values']['scroll_padding'];
  $form_state['values']['style_options']['loading_text'] = $form_state['values']['loading_text'];
  $form_state['values']['style_options']['close'] = $form_state['values']['close'];
}