Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Duplicate ids in order_details partial in 1-3-stable #2836

Closed
linrock opened this Issue · 1 comment

2 participants

@linrock

Lines 46 and 55 both use an id of "line-items" in this file:
https://github.com/spree/spree/blob/1-3-stable/core/app/views/spree/shared/_order_details.html.erb

For reference:

  <thead id="line-items" data-hook>
    <tr data-hook="order_details_line_items_headers">
      <th colspan="2"><%= t(:item) %></th>
      <th class="price"><%= t(:price) %></th>
      <th class="qty"><%= t(:qty) %></th>
      <th class="total"><span><%= t(:total) %></span></th>
    </tr>
  </thead>

  <tbody id="line-items" data-hook>
@radar radar referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@radar radar referenced this issue from a commit in radar/spree
@radar radar Remove invalid duplicate line-items id in shared/_order_details.html.erb
This has now been moved to the <table> tag which contains both these elements.

Fixes #2836
b70f5f8
@radar radar referenced this issue from a commit in radar/spree
@radar radar Remove invalid duplicate line-items id in shared/_order_details.html.erb
This has now been moved to the <table> tag which contains both these elements.

Fixes #2836
361ffb1
@radar
Collaborator

Thanks for letting us know about this. I've got a fix in for this problem on my master, 1-3-stable and 1-2-stable branches. These should be merged to spree/spree by the end of this week.

@radar radar referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@radar radar referenced this issue from a commit
@radar radar Remove invalid duplicate line-items id in shared/_order_details.html.erb
This has now been moved to the <table> tag which contains both these elements.

Fixes #2836
6beadca
@radar radar closed this issue from a commit
@radar radar Remove invalid duplicate line-items id in shared/_order_details.html.erb
This has now been moved to the <table> tag which contains both these elements.

Fixes #2836
5825a6f
@radar radar closed this in 5825a6f
@radar radar referenced this issue from a commit in radar/spree
@radar radar Remove invalid duplicate line-items id in shared/_order_details.html.erb
This has now been moved to the <table> tag which contains both these elements.

Fixes #2836
da6f0a5
@vergeman vergeman referenced this issue from a commit
@radar radar Remove invalid duplicate line-items id in shared/_order_details.html.erb
This has now been moved to the <table> tag which contains both these elements.

Fixes #2836
f32682b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.