Closed (fixed)
Project:
Commerce Cart Ajax
Version:
7.x-1.0
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2012 at 12:47 UTC
Updated:
8 Mar 2016 at 15:46 UTC
Jump to comment: Most recent
Comments
Comment #1
bladwin commentedI can verify that this is happening. When there is only one item in the cart, or if it is the last in a list, after clicking "delete", it remains until the page is refreshed. I am not using commerce_kickstart. The site and "products" were already built before the addition of Drupal Commerce.
Comment #2
thehong commentedFixed http://drupalcode.org/project/dc_cart_ajax.git/commit/4e305f9
Thanks for reporting.
Comment #3
thehong commentedComment #5
gdana commentedHi, this happens to me with the regular release as well. I tried replacing the line:
$wrapper = $wrapper || $('#' + response['form-id']).parents('.view.view-commerce-cart-form:eq(0)').parent();
with
$wrapper = $wrapper || $('#' + response['form-id']).parents('.view:eq(0)').parent();
like in your patch for the dev version but this is only a partial solution - it fixes the case where there's one item in the cart but if there are two or more and I try to delete them one after the other, the final delete doesn't work again.
Any suggestions? thanks, Dana.
Comment #6
mrsad commentedreplace $wrapper = ... line with
$wrapper = $wrapper || $('[id^=' + response['form-id'] +']').parents('.view:eq(0)').parent();Comment #7
tterranigma commentedFixed per #3.
@gdana The concept of fixing bugs is that once enough or critical once have been fixed, a new release will be made, in this case 1.1. The problem of course persists in 1.0 since there is no change happening over there.