Skip to content

Commit

Permalink
Revert "Show error message when adding items to order in admin fails"
Browse files Browse the repository at this point in the history
This reverts commit c33b1c0.
  • Loading branch information
Jeff Dutil authored and Jeff Dutil committed Dec 23, 2014
1 parent c33b1c0 commit 080da35
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ adjustLineItems = function(order_number, variant_id, quantity){
}).done(function( msg ) {
window.Spree.advanceOrder();
window.location.reload();
}).fail(function(msg) {
alert(msg.responseJSON.message)
});

}
2 changes: 0 additions & 2 deletions backend/app/assets/javascripts/spree/backend/shipments.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ adjustShipmentItems = function(shipment_number, variant_id, quantity){
data: { variant_id: variant_id, quantity: new_quantity }
}).done(function( msg ) {
window.location.reload();
}).fail(function(msg) {
alert(msg.responseJSON.message)
});
}
}
Expand Down

0 comments on commit 080da35

Please sign in to comment.