Index: theme/theme.inc =================================================================== --- theme/theme.inc (revision 2363) +++ theme/theme.inc (working copy) @@ -137,8 +137,7 @@ // we set up a running counter, $dom_id, to issue a "unique" identifier for // each view. This identifier is written to both Drupal.settings and the DIV // wrapper. - static $dom_id = 1; - $vars['dom_id'] = !empty($view->dom_id) ? $view->dom_id : $dom_id++; + $vars['dom_id'] = !empty($view->dom_id) ? $view->dom_id : $view->current_display; $vars['classes_array'][] = 'view-dom-id-' . $vars['dom_id']; // If using AJAX, send identifying data about this view. Index: includes/ajax.inc =================================================================== --- includes/ajax.inc (revision 2363) +++ includes/ajax.inc (working copy) @@ -19,7 +19,7 @@ $display_id = $_REQUEST['view_display_id']; $args = isset($_REQUEST['view_args']) && $_REQUEST['view_args'] !== '' ? explode('/', $_REQUEST['view_args']) : array(); $path = isset($_REQUEST['view_path']) ? $_REQUEST['view_path'] : NULL; - $dom_id = isset($_REQUEST['view_dom_id']) ? intval($_REQUEST['view_dom_id']) : NULL; + $dom_id = isset($_REQUEST['view_dom_id']) ? $_REQUEST['view_dom_id'] : NULL; $pager_element = isset($_REQUEST['pager_element']) ? intval($_REQUEST['pager_element']) : NULL; views_include('ajax'); $object = new stdClass();