From 328067e78bf041968a7604586eda4a17bdf03f4c Mon Sep 17 00:00:00 2001 From: Edin Dazdarevic Date: Mon, 1 Jun 2015 12:48:24 +0200 Subject: [PATCH] fixed 'Zavrsi narudzbu' button problems --- front-ui/app/components/cart/cartIcon.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front-ui/app/components/cart/cartIcon.js b/front-ui/app/components/cart/cartIcon.js index 7bbb3de..1229608 100644 --- a/front-ui/app/components/cart/cartIcon.js +++ b/front-ui/app/components/cart/cartIcon.js @@ -69,8 +69,9 @@ var CartIcon = React.createClass({ CartStore.removeChangeListener(this._onChange); }, - _onClick: function() { + _onClick: function(e) { NavigationActions.goToCart(); + e.preventDefault(); }