mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Undo change of logic on disabled state on Shopping cart button
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
%form{action: cart_path}
|
||||
.small-12.medium-4.large-3.columns
|
||||
%input.button.primary.right.add_to_cart{type: :submit, value: "Your shopping cart",
|
||||
"ng-disabled" => "!Cart.dirty"}
|
||||
"ng-disabled" => "Cart.dirty"}
|
||||
|
||||
%div.pad-top{bindonce: true}
|
||||
%product.animate-repeat{"ng-controller" => "ProductNodeCtrl",
|
||||
@@ -42,5 +42,5 @@
|
||||
.small-12.columns
|
||||
%form{action: cart_path}
|
||||
%input.button.primary.right.add_to_cart{type: :submit, value: "Your shopping cart",
|
||||
"ng-disabled" => "!Cart.dirty"}
|
||||
"ng-disabled" => "Cart.dirty"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user