diff -pr editview-6.x-1.x-dev/includes/editview.views.inc editview/includes/editview.views.inc
*** editview-6.x-1.x-dev/includes/editview.views.inc	Thu Feb 24 20:07:08 2011
--- editview/includes/editview.views.inc	Thu Jul 14 12:01:31 2011
*************** function editview_js() {
*** 72,78 ****
  
      // Build the view so all necessary classes will be defined.
      $view = views_get_view($_POST['editview_view']);
!     $view->build();
  
      // Fast path is to get the form out of the cache. But if minimum cache
      // lifetimes have been specified, on post of a form all cached forms
--- 72,78 ----
  
      // Build the view so all necessary classes will be defined.
      $view = views_get_view($_POST['editview_view']);
!     $view->build($_POST['editview_display']);
  
      // Fast path is to get the form out of the cache. But if minimum cache
      // lifetimes have been specified, on post of a form all cached forms
*************** function editview_node_form(&$form_state
*** 146,152 ****
    // from the form cache. Also, we add a hidden field which will be filled
    // with all ids used in this form. Javascript will get them from the
    // Drupal.settings.
!   $form['editview_view'] = array('#type' => 'hidden', '#value' => $view->name); 
    $form['editview_nid'] = array('#type' => 'hidden', '#value' => $node->nid); 
    $form['editview_order'] = array('#type' => 'hidden', '#value' => $order); 
    $form['editview_uri'] = array('#type' => 'hidden', '#value' => $uri); 
--- 146,154 ----
    // from the form cache. Also, we add a hidden field which will be filled
    // with all ids used in this form. Javascript will get them from the
    // Drupal.settings.
!   $form['editview_view'] = array('#type' => 'hidden', '#value' => $view->name);
!   $form['editview_display'] = array('#type' => 'hidden',
!       '#value' => $view->current_display);
    $form['editview_nid'] = array('#type' => 'hidden', '#value' => $node->nid); 
    $form['editview_order'] = array('#type' => 'hidden', '#value' => $order); 
    $form['editview_uri'] = array('#type' => 'hidden', '#value' => $uri); 
