Commit d08465de authored by Dean Reilly's avatar Dean Reilly Committed by Daniel Wehner
Browse files

Issue #1976836 by Dean Reilly: Views locale edit link field uses the old D6 path

parent 4317c5eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ function views_ajax() {
      // Overwrite the destination.
      // @see drupal_get_destination()
      $origin_destination = $path;
      $query = drupal_http_build_query($_REQUEST);
      $query = drupal_http_build_query(drupal_get_query_parameters());
      if ($query != '') {
        $origin_destination .= '?' . $query;
      }
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ class views_handler_field_locale_link_edit extends views_handler_field {
    $text = !empty($this->options['text']) ? $this->options['text'] : t('edit');

    $this->options['alter']['make_link'] = TRUE;
    $this->options['alter']['path'] = 'admin/build/translate/edit/' . $data;
    $this->options['alter']['path'] = 'admin/config/regional/translate/edit/' . $data;
    $this->options['alter']['query'] = drupal_get_destination();

    return $text;