You are here

function _ip_geoloc_plugin_style_leaflet_refresh_cluster_fieldset_js in IP Geolocation Views & Maps 7

Ajax callback in response to new rows or the diff. drop-down being changed.

At this point the $form has already been rebuilt. All we have to do here is tell AJAX what part of the browser form needs to be updated.

1 string reference to '_ip_geoloc_plugin_style_leaflet_refresh_cluster_fieldset_js'
ip_geoloc_plugin_style_leaflet::_add_cluster_differentiator in views/ip_geoloc_plugin_style_leaflet.inc

File

views/ip_geoloc_plugin_style_leaflet.inc, line 1739

Code

function _ip_geoloc_plugin_style_leaflet_refresh_cluster_fieldset_js($form, &$form_state) {

  // Return the updated fieldset, so that ajax.inc can issue commands to the
  // browser to update only the targeted sections of the page.
  return $form['options']['style_options']['cluster_differentiator'];
}